Help - Search - Members - Calendar
Full Version: Add Profile To Favourites
DIYDating > DIY-Dating > Suggestions
andy
I have added some Java-script to my logged in page as below

<script LANGUAGE="Javascript">
<!-- Begin
var url = document.URL;
var site = "MYSITE - ";
var pagetitle = document.title;
var title = site + pagetitle;

if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4)) {

document.write('<span id="bookmarkpage">&nbsp;|| <A HREF="java script:window.ext');
document.write('ernal.AddFavorite(url,title);" ');
document.write('onMouseOver=" window.status=');
document.write("'Bookmark this page!'; return true ");
document.write('"onMouseOut=" window.status=');
document.write("' '; return true ");
document.write('">Add page to Favourites</a> ||</span>');
}
else {
var msg = "Don't forget to bookmark us!";
if(navigator.appName == "Netscape") msg += " (CTRL-D)";
document.write(msg);
}

// End -->
</script>


What I am trying to do is when the user clicks the 'Add page to favourites' link, in IE it automatically inserts the name of my site, and the title of the page into the 'Add to Favourites' dialogue box, which works.

The above example adds this as the page title 'MYSITE - www.mysite.com' as it gets the name from the title of the page.

However since we can only have one page title for all logged in pages, If the user adds many pages to 'Favourites', they are given exactly the same title in the 'Name:' text box, if I used the above script. Is it possible to have the the page title plus the profile name dynamically produced as the title of the page (The page title that is displayed at the top of the browser window)?

I want to Add this 'Add Page to Favourites' link as it will bring visitors back to my site, therefore more chance of upgrading to full membership. Obciously I can do this using the above script, but they wont know exactly which profile that they have added to favourites, and will not be possible unless something is done at you end, so that the members profiles are dynamically displayed in the Page title if that profile is being viewed.

Hope this is a possibilty, dont worry if its not though, as I will add the link anyway, though users will not know what profile they have added to their favourites.

Andy
Charles
Hi,

We are not currently looking at altering the way page titles are generated.
If any other webmasters that would like this feature please let us know (by posting in this thread) and if there are sufficient number of webmasters interested we will look into incorporating page specific titles.

Charles
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.