dreamweaver query
|
Original Message
|
Name: jasmine tan
Date: August 24, 2006 at 06:35:32 Pacific
Subject: dreamweaver queryOS: win xpCPU/Ram: pentium 4/512 |
Comment: I used dreamweaver to create a website. On my main page I have included a link to another page as follows: <meta http-equiv="refresh" content="5;URL=index_1_1.htm"> Can I modify the code so that the subsequent page will retain the main page URL, ie I do not want the URL of this subsequent page to appear. I would appreciate if someone could help.
Report Offensive Message For Removal
|
|
Response Number 1
|
Name: Michael J (by mjdamato)
Date: August 24, 2006 at 07:12:13 Pacific
Subject: dreamweaver query |
Reply: (edit)No, but there is a workaround. Make your main page a single frame. When you chnage the content within that frame, the url will never change. Michael J
Report Offensive Follow Up For Removal
|
|
Response Number 3
|
Name: jasmine tan
Date: August 24, 2006 at 07:33:27 Pacific
Subject: dreamweaver query |
Reply: (edit)I use the code <meta http-equiv="refresh" content="5;URL=index_1_1.htm"> as it would allow the main page (comes with 5 seconds of background music) to automatically go to the subsequently page after 5 seconds.
Report Offensive Follow Up For Removal
|
|
Response Number 4
|
Name: Michael J (by mjdamato)
Date: August 24, 2006 at 08:01:26 Pacific
Subject: dreamweaver query |
Reply: (edit)Yes, you would use the META REFRESH in the page that is loaded into the frame. However, if you want to implement this strategy you would need to understand how frames are implemented and there would be other considerations that you may have to address site-wide. There is more information than could be adequately explained here - if you do not already know it. Michael J
Report Offensive Follow Up For Removal
|
|
Response Number 5
|
Name: jasmine tan
Date: August 24, 2006 at 08:16:39 Pacific
Subject: dreamweaver query |
Reply: (edit)I would be very grateful if you could advise me on how I could incorporate the two-META REFRESH and SINGLE FRAME.
Report Offensive Follow Up For Removal
|
|
Response Number 6
|
Name: Michael J (by mjdamato)
Date: August 24, 2006 at 09:22:28 Pacific
Subject: dreamweaver query |
Reply: (edit)Here is something to get you started. Let's assume that the two pages you have now are index.htm and redirect.htm where index.htm is the page that is initially loaded and has the meta tag to redirect to the redirect.htm page. Ok you would rename the index.htm page to indexOld.htm and you would create a new index.htm page with the content below. (replace [] with <>). ----BEGIN CODE--------- [HTML] [HEAD] [TITLE]A Basic Example of Frames[/TITLE] [/HEAD] [FRAMESET ROWS="100%" COLS="100%"] [FRAME SRC="indexOld.htm"] [NOFRAMES] Content for browsers that do not support frames. [/NOFRAMES] [/FRAMESET] [/HTML] ----END CODE--------- Now when the user goes to index.htm the indexOld.htm page is loaded into the singe frame (but the URL will be index.htm). Then when the indexOld.htm page is redirected the redirect.htm page is loaded into the frame - but the URL will remain unchanged since the content in the frame is changed not the original page. Michael J
Report Offensive Follow Up For Removal
|
Use following form to reply to current message: