The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Hover Possibility?

4 posters

Go down

Solved Hover Possibility?

Post by notMicElf Mon 8 Jun 2009 - 5:26

Hello, I'm wondering if there is the possibility of addding a hover code into the "overall_header"? I have my forum set to only show images in the nav bar, and I feel that if they changed upon a hover, it would be more user friendly.


Last edited by notMicElf on Fri 12 Jun 2009 - 15:58; edited 1 time in total
notMicElf
notMicElf
Forumember

Male Posts : 377
Reputation : 0
Language : English, HTML, CSS, Java
Location : Not where you are =P

Back to top Go down

Solved Re: Hover Possibility?

Post by ankillien Mon 8 Jun 2009 - 5:30

You can use JavaScript for this.
You can even do it with CSS but it would be very tricky blackeye
ankillien
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

Back to top Go down

Solved Re: Hover Possibility?

Post by notMicElf Mon 8 Jun 2009 - 5:58

I'm aware of the Javascript hover, but it is capatable with the forumotion header? I do not want to waste time... but i'll just try it anyways. Thanks
notMicElf
notMicElf
Forumember

Male Posts : 377
Reputation : 0
Language : English, HTML, CSS, Java
Location : Not where you are =P

Back to top Go down

Solved Re: Hover Possibility?

Post by kirk Mon 8 Jun 2009 - 9:03

notMicElf wrote:I'm aware of the Javascript hover, but it is capatable with the forumotion header? I do not want to waste time... but i'll just try it anyways. Thanks

yes it's compatible.
if you place the code in the Admin panel>Templates>General>Overall Header.
it should work fine
kirk
kirk
Forumaster

Male Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

Solved Re: Hover Possibility?

Post by notMicElf Tue 9 Jun 2009 - 1:16

kirk wrote:
notMicElf wrote:I'm aware of the Javascript hover, but it is capatable with the forumotion header? I do not want to waste time... but i'll just try it anyways. Thanks

yes it's compatible.
if you place the code in the Admin panel>Templates>General>Overall Header.
it should work fine

Thanks Smile Only one thing, what are the "if logged in..." codes? I don't want my members seeing the "register" or "log in" when they're logged in, and I don't want the guests seeing "messages", "profile" and "log out". Would you know, or know of anyone who would be able to help with this?
notMicElf
notMicElf
Forumember

Male Posts : 377
Reputation : 0
Language : English, HTML, CSS, Java
Location : Not where you are =P

Back to top Go down

Solved Re: Hover Possibility?

Post by notMicElf Tue 9 Jun 2009 - 1:18

I've almost finished the code, and if I cannot find the "if logged in" variables, I'll post it here for some help.
notMicElf
notMicElf
Forumember

Male Posts : 377
Reputation : 0
Language : English, HTML, CSS, Java
Location : Not where you are =P

Back to top Go down

Solved Re: Hover Possibility?

Post by notMicElf Tue 9 Jun 2009 - 1:30

Code:


<HEAD>

<SCRIPT LANGUAGE="JavaScript">

<!-- Begin

image1 = new Image();
image1.src = "http://i43.tinypic.com/sbn1wy.gif";

image2 = new Image();
image2.src = "http://i41.tinypic.com/wi60d0.gif";

image3 = new Image();
image3.src = "http://i43.tinypic.com/2zjkzy8.gif";

image4 = new Image();
image4.src = "http://i42.tinypic.com/2encldy.gif";

image5 = new Image();
image5.src = "http://i41.tinypic.com/2eol6ki.gif";

image6 = new Image();
image6.src = "http://i42.tinypic.com/2rqk9d3.gif";

image7 = new Image();
image7.src = "http://i42.tinypic.com/2rqk9d3.gif";

image8 = new Image();
image8.src = "http://i41.tinypic.com/ibvpfb.gif";

image9 = new Image();
image9.src = "http://i40.tinypic.com/15cf0p4.gif";

image10 = new Image();
image10.src = "http://i39.tinypic.com/33e7rbc.gif";


// End -->
</script>
</HEAD>

<BODY><div id=EchoTopic>

<a href="http://www.bearvillesource.com/portal.htm" onmouseover="image1.src='http://i43.tinypic.com/sbn1wy.gif';"
onmouseout="image1.src='http://i43.tinypic.com/2mpzhw7.gif';">
<img name="image1" src="http://i43.tinypic.com/2mpzhw7.gif" border=0></a>

<a href="http://www.bearvillesource.com/forum.htm" onmouseover="image2.src='http://i41.tinypic.com/wi60d0.gif';"
onmouseout="image2.src='http://i41.tinypic.com/2ev9r8k.gif';">
<img name="image2" src="http://i41.tinypic.com/2ev9r8k.gif" border=0></a>

<a href="http://www.bearvillesource.com/profile.forum?mode=editprofile" onmouseover="image3.src='http://i43.tinypic.com/2zjkzy8.gif';"
onmouseout="image3.src='http://i42.tinypic.com/343lo4o.gif';">
<img name="image3" src="http://i42.tinypic.com/343lo4o.gif" border=0></a>

<a href="http://www.bearvillesource.com/Games-h2.htm" onmouseover="image4.src='http://i42.tinypic.com/2encldy.gif';"
onmouseout="image4.src='http://i44.tinypic.com/2lxjo14.gif';">
<img name="image4" src="http://i44.tinypic.com/2lxjo14.gif" border=0></a>

<a href="http://www.bearvillesource.com/Codes-h1.htm" onmouseover="image5.src='http://i41.tinypic.com/2eol6ki.gif';"
onmouseout="image5.src='http://i44.tinypic.com/iqeubo.gif';">
<img name="image5" src="http://i44.tinypic.com/iqeubo.gif" border=0></a>

<a href="http://www.bearvillesource.com/msg.forum?folder=inbox" onmouseover="image6.src='http://i42.tinypic.com/2rqk9d3.gif';"
onmouseout="image6.src='http://i41.tinypic.com/2a7sqpl.gif';">
<img name="image6" src="http://i41.tinypic.com/2a7sqpl.gif" border=0></a>

<a href="http://www.bearvillesource.com/msg.forum?folder=inbox" onmouseover="image7.src='http://i42.tinypic.com/2rqk9d3.gif';"
onmouseout="image7.src='http://i41.tinypic.com/2a7sqpl.gif';">
<img name="image7" src="http://i41.tinypic.com/2a7sqpl.gif" border=0></a>

<a href="http://www.bearvillesource.com/login.forum?connexion" onmouseover="image8.src='http://i41.tinypic.com/ibvpfb.gif';"
onmouseout="image8.src='http://i44.tinypic.com/x1m4wo.gif';">
<img name="image8" src="http://i44.tinypic.com/x1m4wo.gif" border=0></a>

<a href="http://www.bearvillesource.com/login.forum?logout=true&amp;sid=%s" onmouseover="image9.src='http://i40.tinypic.com/15cf0p4.gif';"
onmouseout="image9.src='http://i41.tinypic.com/qyxx7d.gif';">
<img name="image9" src="http://i41.tinypic.com/qyxx7d.gif" border=0></a>

<a href="http://www.bearvillesource.com/profile.forum?mode=register" onmouseover="image10.src='http://i39.tinypic.com/33e7rbc.gif';"
onmouseout="image10.src='http://i39.tinypic.com/213jehk.gif';">
<img name="image10" src="http://i39.tinypic.com/213jehk.gif" border=0></a>

</BODY>

That is my code. Does anyone know how to make certain buttons show when loggged in, and others when logged out? Also, for some reason, the first 5 aren't changing during hove. I'll probably solve that shortly, though.
notMicElf
notMicElf
Forumember

Male Posts : 377
Reputation : 0
Language : English, HTML, CSS, Java
Location : Not where you are =P

Back to top Go down

Solved Re: Hover Possibility?

Post by notMicElf Tue 9 Jun 2009 - 7:49

[code]

Deleted, removing my double post.


Last edited by notMicElf on Wed 10 Jun 2009 - 0:17; edited 1 time in total
notMicElf
notMicElf
Forumember

Male Posts : 377
Reputation : 0
Language : English, HTML, CSS, Java
Location : Not where you are =P

Back to top Go down

Solved Re: Hover Possibility?

Post by notMicElf Tue 9 Jun 2009 - 8:06

Also, if anyone knows of a better forum for this, please let me know. I'm also trying in the 'scripts' forum, just trying to find that forumer who's got amazing coding skills, and would be of help in this matter.
notMicElf
notMicElf
Forumember

Male Posts : 377
Reputation : 0
Language : English, HTML, CSS, Java
Location : Not where you are =P

Back to top Go down

Solved Re: Hover Possibility?

Post by Sanket Tue 9 Jun 2009 - 18:17

notMicElf, May I remind you that double/triple/multiple posting isn't tolerated unless separated by 24 hours (Use the edit button) Wink
Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

Solved Re: Hover Possibility?

Post by notMicElf Wed 10 Jun 2009 - 0:18

Sanket wrote:notMicElf, May I remind you that double/triple/multiple posting isn't tolerated unless separated by 24 hours (Use the edit button) Wink

Oh, sorry about that. Confused

Also, would you know of anyone who knows the "if logged in" variable I need, or that could help me with this?
notMicElf
notMicElf
Forumember

Male Posts : 377
Reputation : 0
Language : English, HTML, CSS, Java
Location : Not where you are =P

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum