Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 05-16-2003, 05:45 AM   #1
Member (7 bit)
 
chris1977uk's Avatar
 
Join Date: Sep 2002
Location: Middlesbrough, UK
Posts: 108
in document anchor tags

i have a popup window that has a dozen links at the top, when click it fires u down the popup to the relevant section, and theres a back to top link too.

my problem is when the popup first appears the title is displayed in the IE bar ("<"title">" title "<"/title">"), but when the anchor links are clicked the the title tags seem to be ignored and i get the http://path_to_page appear instead. is there a way around this so whats in the title tags is always there?
chris1977uk is offline   Reply With Quote
Old 05-20-2003, 08:53 AM   #2
Member (10 bit)
 
Join Date: Jan 2001
Location: Birmingham, UK.
Posts: 553
Send a message via Yahoo to dj4uk
Attach your code to a post so we can see what is going wrong.
dj4uk is offline   Reply With Quote
Old 05-20-2003, 09:06 AM   #3
Member (7 bit)
 
chris1977uk's Avatar
 
Join Date: Sep 2002
Location: Middlesbrough, UK
Posts: 108
hope this makes sense

basically it has four columns or 3 links across the top, when u click on the link it moves u down the popup to the relevant piece of text.

the problem is the title changing in the blue IE bar
Attached Files
File Type: txt popupcode.txt (7.1 KB, 66 views)
chris1977uk is offline   Reply With Quote
Old 05-20-2003, 09:14 AM   #4
Member (10 bit)
 
Join Date: Jan 2001
Location: Birmingham, UK.
Posts: 553
Send a message via Yahoo to dj4uk
Can you explain the problem a bit better - I've saved the file you attached as a html file and it seems to work fine.
dj4uk is offline   Reply With Quote
Old 05-20-2003, 09:18 AM   #5
Member (7 bit)
 
chris1977uk's Avatar
 
Join Date: Sep 2002
Location: Middlesbrough, UK
Posts: 108
the prob

the anchor tags work fine

its the title tag i have the problem with.

in the title tag is says "Company Information", the first time the popup loads this is what appears in the blue IE bar. "Company Information - Microsoft Internet Exporer". which is right

when i click on a link, the blue IE bar says "http://thesitesip/folder/folder/popup.asp - Microsoft Internet Exporer".

It's losing the "Company Information" in my title tag!!
chris1977uk is offline   Reply With Quote
Old 05-20-2003, 09:23 AM   #6
Member (10 bit)
 
Join Date: Jan 2001
Location: Birmingham, UK.
Posts: 553
Send a message via Yahoo to dj4uk
If you save the code as a simple html file it works fine. Therefore there is no problem with the html.

You mention that it is an asp file tho' so are you launching the page locally (just doubleclicking it) or have you got a web server running on your pc? - the second is needed to execute asp code.
dj4uk is offline   Reply With Quote
Old 05-20-2003, 09:28 AM   #7
Member (7 bit)
 
chris1977uk's Avatar
 
Join Date: Sep 2002
Location: Middlesbrough, UK
Posts: 108
the pages

the pages r uploaded on a remote development webserver

http://81.29.69.240/asp/cart/companyinfo.asp is the popup page, obviously will be in a full browser, but it scrolls and u get the idea, and the problem!!
chris1977uk is offline   Reply With Quote
Old 05-20-2003, 09:30 AM   #8
Member (10 bit)
 
Join Date: Jan 2001
Location: Birmingham, UK.
Posts: 553
Send a message via Yahoo to dj4uk
Ok have had a look at the URL you posted and there are no problems with the title - which browser are you using?
dj4uk is offline   Reply With Quote
Old 05-20-2003, 09:32 AM   #9
Member (7 bit)
 
chris1977uk's Avatar
 
Join Date: Sep 2002
Location: Middlesbrough, UK
Posts: 108
im using IE 5

does it say "Company Information" every time u click a link????
chris1977uk is offline   Reply With Quote
Old 05-20-2003, 09:37 AM   #10
Member (10 bit)
 
Join Date: Jan 2001
Location: Birmingham, UK.
Posts: 553
Send a message via Yahoo to dj4uk
It does indeed.
dj4uk is offline   Reply With Quote
Old 05-20-2003, 09:39 AM   #11
Member (7 bit)
 
chris1977uk's Avatar
 
Join Date: Sep 2002
Location: Middlesbrough, UK
Posts: 108
hmmm how bizarre, mine changes!!

thank u mr gates!!

cheers for helping DJ
chris1977uk is offline   Reply With Quote
Old 05-20-2003, 09:42 AM   #12
Member (10 bit)
 
Join Date: Jan 2001
Location: Birmingham, UK.
Posts: 553
Send a message via Yahoo to dj4uk
Tis ok.

Your HTML coding ain't perfect tho' maybe IE5 is wanting precise syntax - I haven't seen this before cos it usually quite forgiving.

You need html, body and head tags - remember to close everything you open too!

Also some of your closing tags in the table are missing.
dj4uk is offline   Reply With Quote
Old 05-20-2003, 09:43 AM   #13
Member (7 bit)
 
chris1977uk's Avatar
 
Join Date: Sep 2002
Location: Middlesbrough, UK
Posts: 108
yeah i know

still in development mode at the mo, will tidy and see if it makes a difference!
chris1977uk is offline   Reply With Quote
Old 05-20-2003, 09:53 AM   #14
Member (7 bit)
 
chris1977uk's Avatar
 
Join Date: Sep 2002
Location: Middlesbrough, UK
Posts: 108
lol, if i press the link, then do a refresh, it changes to the proper title!!!


i give up!
chris1977uk is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:59 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2