Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
Old 08-08-2007, 02:24 PM frames and mouseover
Junior Talker

Posts: 3
Trades: 0
hey i have a web page-one main page with three separate frames; one for the title, one for the main content, and one for all the links. the links are all rollover buttons that open a new page in the "main content" frame...so the page layout is like this:
_____________
title
---------------|
main content
---------------|
links
_____________|

what i want to do with my rollover buttons is once they're clicked they stay as the rolled over image, but once one of the other buttons is clicked, it goes back...make sense??? anybody know how to do this??? thanks for the help in advance
-hairy
hairyharry is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-08-2007, 02:36 PM Re: frames and mouseover
bas
Super Talker

Posts: 108
Name: Bas
Trades: 0
Do you have a javascript menu or something that you are using at the moment? Post it (or a link to it) and we can help you a lot better.
bas is offline
Reply With Quote
View Public Profile
 
Old 08-08-2007, 02:43 PM Re: frames and mouseover
Junior Talker

Posts: 3
Trades: 0
yea i do...sorry here it is...

Code:
  <script language="JavaScript">
image1 = new Image();
image1.src = "images/button_1.gif";
image2 = new Image();
image2.src = "images/button_2.gif";
image3 = new Image();
image3.src = "images/button_3.gif";
image4 = new Image();
image4.src = "images/button_4.gif";
  </script>
Code:
<a href="1.html" target="middle"
onmouseover="image1.src='images/button_1_RO.gif';"
onmouseout="image1.src='images/button_1.gif';">
<img style="border: 0px solid ; width: 220px; height: 74.8px;" alt="" name="image1" src="images/button_1.gif" align="middle">
hairyharry is offline
Reply With Quote
View Public Profile
 
Old 08-09-2007, 10:46 PM Re: frames and mouseover
logic ali's Avatar
Super Talker

Posts: 104
Trades: 0
Quote:
Originally Posted by hairyharry View Post

what i want to do with my rollover buttons is once they're clicked they stay as the rolled over image, but once one of the other buttons is clicked, it goes back
This looks a job for SmartRoll. If you can't make it work - post your URL.
logic ali is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to frames and mouseover
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.79139 seconds with 12 queries