|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
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 |
|
#2
|
||||
|
||||
|
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? |
|
#3
|
|||
|
|||
|
Quote:
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? |
|
#4
|
||||
|
||||
|
Depends what you are doing with the 'layers'.
I'd put the iframe in the <div> or whatever you are using. |
|
#5
|
||||
|
||||
|
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. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > JavaScript Development > Loading different pages in one layer through hyperlinks - please help! |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|