a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
Sponsors

Hosting from $3.99 per month!

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions. dd

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

<Title> Tags

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> <Title> Tags
Page: [1]
 
hhammash

 

Posts: 1064
Joined: 8/19/2002
Status: offline

 
<Title> Tags - 3/10/2003 8:01:12   
Hi all,

I have a DRW which displays record by record, the user can move to the next record by clicking the next button.

I wanted to show the Record ID on the page title. What I did was, cut the <Title> tags from the top of the page and pasted them after the DRW and inserted <%=FP_FieldVal...etc%> between the tags. Now when the user goes to next record it shows in the title. Here is the dieted code:

<!--#include file=" ../_fpclass/fpdbrgn1.inc" -->
<p><b>Name:</b> <%=FP_FieldVal(fp_rs," Name" )%></p>
<p><b>Department:</b> <%=FP_FieldVal(fp_rs," Department" )%></p>
<p><b>POBOX:</b> <%=FP_FieldVal(fp_rs," POBOX" )%></p>
<p><b>Level:</b> <%=FP_FieldVal(fp_rs," Level" )%></p>
<title>Profile of: <%=FP_FieldVal(fp_rs," Name" )%></title>
<hr>
<!--#include file=" ../_fpclass/fpdbrgn2.inc" -->



It is working fine. But the question is. Can I do that? I mean move the <Title> tags with no problem? It is working fine and I tested it heavily for 2 days now. Here is a sample of the database:

http://www.fmhs.uaeu.ac.ae/immconf/JavaScript/RecordByRecord.asp

I also created a normal .htm page and move the <Title> down after the <Body> after the </html> it worked it is showing the title. Is there any rule against moving the <title> tags from the head of the page?

Best regards
Hisham

bobby

 

Posts: 11399
Joined: 8/15/1969
From: Seattle WA USA
Status: offline

 
RE: <Title> Tags - 3/10/2003 10:51:40   
Hisham -

There isn' t any problem with dynamically inserting the title like you have... the only thing I can think of is that a SE spider may not find the title tag if it' s not in the header...

Usually, for SE optimization, it' s best to put the title meta first... (you can still put DRW code above it tho)


_____________________________

In order to remove a wall you must first remove the Windows®


:)

(in reply to hhammash)
hhammash

 

Posts: 1064
Joined: 8/19/2002
Status: offline

 
RE: <Title> Tags - 3/10/2003 13:01:52   
Hi Bobby,

Thanks a lot for your clear reply.

So, other than the SE Spider, there is no problem?

Best regards
Hisham

(in reply to hhammash)
bobby

 

Posts: 11399
Joined: 8/15/1969
From: Seattle WA USA
Status: offline

 
RE: <Title> Tags - 3/10/2003 13:31:40   
Not as far as I know... you may run into some issues with your DTD and code validity, if that' s an issue for you... but the page should work fine, AFAIK



_____________________________

In order to remove a wall you must first remove the Windows®


:)

(in reply to hhammash)
hhammash

 

Posts: 1064
Joined: 8/19/2002
Status: offline

 
RE: <Title> Tags - 3/10/2003 14:18:45   
Hi Bobby,

Actually the page as I posted its code is working fine. I tested it heavily the last two days.

Regards
Hisham

(in reply to hhammash)
Page:   [1]
OutFront Discoveries

All Forums >> Web Development >> ASP and Database >> <Title> Tags
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts