Client Side Things
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesClient Side Things

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old May 22nd, 2005, 03:41 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
Onmouseover and onmouseout with frames

okay, so i got two frames, like frame1 and frame2, and i got iframe on frame2.
Now i have all the links on frame 1, but the onmouseover target should be in iframe on frame2. is this even possible?
i got it working when i had the iframe on the same frame but couldn't get it working like this... hope u understanded...

________________________
|frame1 | frame2 |
| | _______ |
| links | |iframe | |
| | |target | |
| | |_______| |
|___________|____________|




Reply With Quote
  #2  
Old May 22nd, 2005, 03:45 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: Onmouseover and onmouseout with frames

ill try again to get it right

_________________
| frame1 | frame2 |
|-links--| ______ |
|--------||iframe||
|--------||______||
|_________________|

Reply With Quote
  #3  
Old May 23rd, 2005, 06:21 PM
Yian Yian is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: UK
Posts: 279 Yian User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: Onmouseover and onmouseout with frames

So you mean, when you hover over a link in frame1, some event should happen in the iframe in frame2?

Reply With Quote
  #4  
Old May 23rd, 2005, 06:23 PM
System System is offline
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Posts: 665 System User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Message Moved

Thread moved from 'Client Side Things' to 'Client Side Things' by tkarkkainen.

Reason:

Reply With Quote
  #5  
Old May 23rd, 2005, 06:24 PM
tkarkkainen's Avatar
tkarkkainen tkarkkainen is offline
Moderator
Click here for more information
 
Join Date: Apr 2007
Location: Finland
Posts: 2,326 tkarkkainen User rank is Lance Corporal (50 - 100 Reputation Level)tkarkkainen User rank is Lance Corporal (50 - 100 Reputation Level)tkarkkainen User rank is Lance Corporal (50 - 100 Reputation Level)  Folding Points: 16550 Folding Title: Novice Folder
Time spent in forums: 6 Days 9 h 39 m 34 sec
Reputation Power: 4
RE: Onmouseover and onmouseout with frames

Sorry.... I obviously need some sleep :uhoh:

Reply With Quote
  #6  
Old May 24th, 2005, 12:34 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: Onmouseover and onmouseout with frames

yea thats what i want... just not sure how to get it working....

Reply With Quote
  #7  
Old May 24th, 2005, 01:46 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: Onmouseover and onmouseout with frames

actually i need to get it from frame 4 to iframe on frame 3... dont know if this pic i did will appear correctly but hope u understand....

--------frame1-----
---------/--------
----frame2--frame3-
-----/------------
--frame4--frame5---

Reply With Quote
  #8  
Old May 24th, 2005, 07:27 PM
brut brut is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 367 brut User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 m 30 sec
Reputation Power: 2
RE: Onmouseover and onmouseout with frames

I think this is what you're looking for:

from frame4:
php Code:
Original - php Code
  1.  
  2. top.frame3name.document.getElementById('iframename  ').src='http://www.codewalkers.com';


Reply With Quote
  #9  
Old May 25th, 2005, 02:28 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: Onmouseover and onmouseout with frames

nope... didn't get it working or maybe i just suck at coding i can get it done in same frame with onmouseover=iframename.location="url"
but if i try to change it to other frame it wont do anything...

Reply With Quote
  #10  
Old May 25th, 2005, 05:54 PM
brut brut is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 367 brut User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 m 30 sec
Reputation Power: 2
RE: Onmouseover and onmouseout with frames

Here is a working example.

Tested:
IE6 SP2
Firefox 1.0
Mozilla 1.5

Reply With Quote
  #11  
Old May 27th, 2005, 10:21 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: Onmouseover and onmouseout with frames

thnks for that... it helped much but i still have one more problem....apparently with that code i can only get to iframe inside a frame that has been named in the top page where the first framesets are (in my case its index). but because i had to split the page more than once i now have two indexes.... the first one splits to navi and index2 and it splits to two other frames...so the problem is that when i use top.main.document.getElementById it tries to look for frames inside index. but i need it to look from the index2 for frame which has that damn iframe inside it. hope u understand what im trying to say...

Reply With Quote
  #12  
Old May 27th, 2005, 11:10 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: Onmouseover and onmouseout with frames

nvm i got working allready... too simple answer
just had to put it like this: top.index2.main....

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesClient Side Things > Onmouseover and onmouseout with frames


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway