JavaScript Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingJavaScript Development

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:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old July 12th, 2005, 03:46 PM
matt.varnham matt.varnham is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2005
Posts: 2 matt.varnham User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 22 m 27 sec
Reputation Power: 0
Loading different pages in one layer through hyperlinks - please help!

I have a layer in a template, i want to be able to load initially, page X (home.htm) in the layer, then page Y to replace page X (upon promt through hyperlink) any help would be much appreciated!

matt

Reply With Quote
  #2  
Old July 12th, 2005, 03:54 PM
ChiefWigs1982's Avatar
ChiefWigs1982 ChiefWigs1982 is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Location: I have emerged from the place of spells and fairies
Posts: 97 ChiefWigs1982 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 Days 17 h 35 m 12 sec
Reputation Power: 4
Easiest way is using iframes.

You can go the complicated way and us some nifty XMLHTTPRequests
with JavaScript, but I wouldn't recommend it...
__________________
Sinthetic - Alternative UK Hiphop: What's the worst that could happen?

"I'm going to become rich and famous when I invent a device that allows you to stab people in the face over the internet"



Reply With Quote
  #3  
Old July 12th, 2005, 03:59 PM
matt.varnham matt.varnham is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2005
Posts: 2 matt.varnham User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 22 m 27 sec
Reputation Power: 0
Quote:
Originally Posted by ChiefWigs1982
Easiest way is using iframes.

You can go the complicated way and us some nifty XMLHTTPRequests
with JavaScript, but I wouldn't recommend it...


so, do you mean to use iframes instead of layers? or use the iframe in the layer? have you any idea how i might go about this?

Reply With Quote
  #4  
Old July 12th, 2005, 04:16 PM
ChiefWigs1982's Avatar
ChiefWigs1982 ChiefWigs1982 is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Location: I have emerged from the place of spells and fairies
Posts: 97 ChiefWigs1982 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 Days 17 h 35 m 12 sec
Reputation Power: 4
Depends what you are doing with the 'layers'.

I'd put the iframe in the <div> or whatever you are using.

Reply With Quote
  #5  
Old July 13th, 2005, 08:26 AM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 4 m 48 sec
Reputation Power: 8
I would be cautious... Frames aren't accessible to those with disabilities.
I tend to avoid frames/iframes at all costs.

You may want to do this consolidation on the server side...
If that isn't an option, Frames would be your best bet.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingJavaScript Development > Loading different pages in one layer through hyperlinks - please help!


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 2 hosted by Hostway