 |

dpalmer
User
Dec 16, 2002, 9:17 AM
Post #1 of 2
(1388 views)
Shortcut
|
|
Custom templates
|
Can't Post
|
|
HI! We are making great progress with the new custom templates! However, there's one final issue we can't seem to resolve! When we get to the user clicking on the image to see a large view, we cannot "hide" our URL in the title bar. http://www.portfolio-of-homes.com/sample4/agency.htm Click on any of the images. Then click on the last image to get a large view. There in the titlebar you will see our reference. We are using this service for 3rd party agencies....don't want any reference back to us. Any suggestions? Thanks so much in advance! Denise Palmer
|
|
|  |
 |

Benjamin
Staff

Dec 16, 2002, 4:05 PM
Post #2 of 2
(1376 views)
Shortcut
|
|
Re: [dpalmer] Custom templates
[In reply to]
|
Can't Post
|
|
Hey Denise, Glad to hear you're making headway with the customized templates! I had a look at the source of your Listing Close Up page, and saw that you're using javascript to open up a new window with the location of the picture as the URL. When you do this, I believe it will always use the URL as the title of the page. Off the top of my head, since you're already relying on javascript, one solution would be to link to a default HTML page with the location of the image sent in as a query string. So instead of this: <a href="#"onClick=window.open("$listing_url$/$listing_file$")><img ...></a> have: <a href="#" onClick=window.open("$listing_url$/defaultPage.html?image=$listing_file$")><img ...></a> Then, inside your defaultPage.html (located in the listings dir), have it extract the query string value, and stick it within an image tag. This way, you have control over what's written in the <title></title> tags. Now for a private disclaimer: There may well be an easier solution, but this would be my first approach. If you need a hand with the javascript, just post! Ben interactivetools.com
|
|
|  |
 | |  |
|