This is a discussion on "How to customize content depending on URL?" within the Classic ASP section. This forum, and the thread "How to customize content depending on URL? are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
How to customize content depending on URL?
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
How to customize content depending on URL?
Does anyone know how to change some content on a template file depending on the current page being viewed, for example, how can you display flash1 on /example1.asp and flash2 on all other pages? (the flash is embedded on the template)
I tried one way: Dim thisImagePath If InStr(PageUrl,"/example1/") = 0 Then thisImagePath = "/flash2" & PagePath Else thisImagePath = ".flash1" & PagePath then in the flash src i put <% thisImagePath %> But it didn't work |
|
|
|
#2
|
|||
|
|||
|
Re: How to customize content depending on URL?
Don't worry I found a solution ; )
|
![]() |
| Tags |
| customize content, template |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Let a user customize my layout.. | jahphill | Web Page Design | 1 | Jun 6th, 2008 07:40 |
| [CSS] Customize your form with CSS | karinne | Starting Out | 5 | Nov 8th, 2007 16:57 |
| Try my new JavaScript: Customize Dropdown Menu | temp | JavaScript Forum | 1 | Aug 8th, 2007 11:47 |
| Resizing a div depending on another div size | AdRock | Web Page Design | 2 | Sep 3rd, 2006 14:26 |