Programming Tools
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingProgramming Tools

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
  #1  
Old June 11th, 2003, 10:54 PM
tim tim is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2002
Posts: 62 tim User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 12 m 9 sec
Reputation Power: 7
Send a message via ICQ to tim
IFRAME Referencing

I have the following scenario:

2 IFrames which are unique to each other (with different IDs) in the same page, and each, having a DIV tag(external sourcing to another file which actually has the DIV tag). However, the DIV tags are of the same ID.

When I reference(using javascript) the DIV tag in the first IFRAME, will there be clashing with the second DIV tag of the same ID in the second IFRAME?

thanks
__________________
Beginner

Reply With Quote
  #2  
Old June 12th, 2003, 12:22 AM
iahmed iahmed is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2003
Location: USA
Posts: 171 iahmed User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 42 m 58 sec
Reputation Power: 6
Hi
I will strongly suggest you to read the article from following link, and you will never confused with DOCUMENT OBJECT MODEL(DOM) and <div> tag etc.

http://hotwired.lycos.com/webmonkey...ml?tw=authoring


Thank You.

Reply With Quote
  #3  
Old June 12th, 2003, 12:39 AM
ben rowe ben rowe is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 24 ben rowe User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
what js are u using????

to get to the div tag, it should be something like...

ifame_name.document.div_id.

Reply With Quote
  #4  
Old June 12th, 2003, 08:08 PM
tim tim is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2002
Posts: 62 tim User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 12 m 9 sec
Reputation Power: 7
Send a message via ICQ to tim
JS 1.2...does it matter?

Thanks, have read the article, and it was no where close to answering my question Knew it all...

What i really meant and assume is, since the external file being sourced in to the IFRAME is 'local' to that IFRAME, hence whatever IDs being referenced in that file is known there only.... and even though there's another of the same ID, they wouldn't clash, would they? am i right?

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingProgramming Tools > IFRAME Referencing


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 | 
  
 

SlickEdit




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