Java mouse rollovers in an iframe

This is a discussion on "Java mouse rollovers in an iframe" within the JavaScript Forum section. This forum, and the thread "Java mouse rollovers in an iframe are both part of the Program Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Program Your Website > JavaScript Forum

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Aug 1st, 2005, 00:30
New Member
Join Date: Aug 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Java mouse rollovers in an iframe

Hi there!

This page http://www.totallytoni.com/easystreet/street.htm uses a rollover, where the windows turn yellow.

I put the page above inside an iframe: http://www.totallytoni.com/easystreet/

Although I copied the rollover script into the iframe page, the rollover doesn't work.

Does anyone know how to make it work in the iframe?

Thanks in advance for your response -

Heather
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Aug 1st, 2005, 00:51
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
Welcome to Webforumz!

This has nothing to do with the iframe!

In your new document you have two sets of the same house images, presumably so that when the user scrolls they can keep going and see the next set of houses. The problem is that you've left the 'name' parameters on those images the same, which means that on mouseover, two images with the same name are being targetted. The second set of images must have different names from the first and the javascript mouseoever code will need to be adjusted accordingly!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Aug 1st, 2005, 14:22
New Member
Join Date: Aug 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Ahhhhh!

Thank you
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Aug 3rd, 2005, 11:48
New Member
Join Date: Aug 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
How can I remove the dashed line in the iframe
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Aug 3rd, 2005, 22:32
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
Remove this line from you CSS

Code: Select all
iframe { border: 1px dashed #666 }
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old Aug 4th, 2005, 01:01
New Member
Join Date: Aug 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks so much I didn't think to look up there... was just looking at the iframe code
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
java, mouse, rollovers, iframe

Thread Tools

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] refresh a different iframe once an iframe elsewhere has loaded cosmicbdog JavaScript Forum 1 Jan 25th, 2008 01:50
Hyperlink Rollovers crackafaza Web Page Design 3 Aug 24th, 2007 11:43
Can a jsp file in an IFrame calls a javascript function outside of the IFrame jadeite100 JavaScript Forum 0 May 31st, 2007 14:29
Java/GUI/Server Developer (Java, EJB/Hibernate, SWING) - Berkshire Web JobBot Job Opportunities 0 Jan 16th, 2007 09:30
faded rollovers benbramz Graphics and 3D 7 Aug 30th, 2005 15:28


All times are GMT. The time now is 07:24.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42