How can I insert a line to the top of the <body>? - preCharge Forums
It shows that you are unregistered. Please register with us by clicking Here
preCharge Forums


Nav Green LeftNav Right
preCharge Forums > Website Design & Development > Programming > JavaScript » How can I insert a line to the top of the <body>?


Reply
Tcat Right
 
LinkBack Thread Tools Display Modes Tcat Right
Old 03-01-2007   #1 (permalink)
hallo
Member
 
Join Date: Feb 2007
Posts: 45
Default How can I insert a line to the top of the <body>?

I have an interesting question:

Can I insert this <h1><a href=”blablabla”> blablabla </a></h1> directly on the begging/top/first line of the <body>,

Is that possible via JS?

Thanks.
hallo is offline   Reply With Quote


Old 03-10-2007   #2 (permalink)
Ajay
Senior Member
 
Ajay's Avatar
 
Join Date: Aug 2006
Age: 26
Posts: 755
Default Re: How can I insert a line to the top of the <body>?

Why not just put in the HTML?
__________________
Ajay D'Souza

Techtites - Your daily dose of all things Tech!

MegaThemes | Sir Arthur Conan Doyle | I Sent This

WebberZone Domains
Ajay is offline   Reply With Quote

Old 06-13-2007   #3 (permalink)
marketraise int
Member
 
Join Date: Mar 2007
Posts: 61
Cool Re: How can I insert a line to the top of the <body>?

Yes that is possible provided you have a tag existing there.You must no the id of that tag.
marketraise int is offline   Reply With Quote

Old 07-21-2007   #4 (permalink)
mr.smith
Member
 
Join Date: Jul 2007
Posts: 30
Default Re: How can I insert a line to the top of the <body>?

yes you can put it within javascript, just write code like this in your page
<script language=javascript>
document.write("<h1><a href=”blablabla”> blablabla </a></h1>");
</script>

i hope it will work
mr.smith is offline   Reply With Quote

Old 07-30-2007   #5 (permalink)
robert
Super Moderator
 
Join Date: Jun 2006
Age: 30
Posts: 1,133
Default Re: How can I insert a line to the top of the <body>?

You could but what are you trying to accomplish?
__________________
Hi! Welcome to preCharge.NET
robert is offline   Reply With Quote

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

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


footer left
All times are GMT. The time now is 05:54 PM.

DISCLAIMER: preCharge Risk Management is not responsible for any opinions, advice or comments expressed on the preCharge Community Forums.
preCharge® is a registered trademark of preCharge Risk Management | chargeback protection | Merchant Account Blog

Powered by vBulletin
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 RC6

Debt Consolidation | Debt Consolidation | MPAA | Personal Loans | Send Telegram

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49