homepage Welcome to WebmasterWorld Guest from 54.225.24.227
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / WebmasterWorld / New To Web Development
Forum Library, Charter, Moderators: brotherhood of lan & mack

New To Web Development Forum

    
how to change iframes when navigating
tsdj




msg:4041864
 7:30 am on Dec 12, 2009 (gmt 0)

Hi guys, im new to all this

im currently building a website with a list links on one page

when clicking on a link u will be taken to a page produced from a template with links across the top which load different pages in the iframe below.

my question is

if i have a list of links for example
link 1
link 2
link 3

is it possible (using templates in dreamweaver) to make the iframe load with information about what ever link is pressed on the previous page

if u need a link to my current project please tell me.

 

rocknbil




msg:4042068
 8:30 pm on Dec 12, 2009 (gmt 0)

Welcome aboard tsdj, what kind of information are you looking for?

There are various ways to do this. Pass a hard coded query string value, but a server-side processor or JS will be required to extract the info:

href="some-page.php?this_page=about"

Set a cookie and read it's value. Javascript or server side programming would be required to set/get the cookie value.

On the server, the environment variable HTTP_REFERRER is usually sent by modern browsers for a link. That is, if this link is on the "about.html" page

href="some-page.html"

When you land on some-page.html, the referrer is "about.html". Again, though, you need Javascript, SSI, or server side programming to actually do anything with it. So to answer the question, in Dreamweaver, the only way would be Javascript, as it's all executed within the browser.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / New To Web Development
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved