Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
xhtml new browser window
Old 10-22-2006, 04:30 PM xhtml new browser window
Junior Talker

Posts: 3
Name: andy
Trades: 0
hi there,i am currently working through a html book called "html and css in 24 hours" and I am following the instructions to the letter but one bit does not work for me.In hour three it reads that to open a new browser window from a link in xhtml you need to put in the head section the following code <script type="text/javascript" src="external.js"></script> and add to the <a> tag the following code rel="external".Now when I press the link the new page opens in the existing window and does not create a new one.
Is the book wrong or is there something i need to change in my browser settings?
Thanks Andy

P.s the old target="_blank" code does create a new window but i'd sooner use xhmtl.
marmalade is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-22-2006, 08:57 PM Re: xhtml new browser window
angele803's Avatar
Perfectly Imperfect

Posts: 1,772
Name: Stephanie
Location: Oklahoma
Trades: 2
It looks like you need to have created a document titled "external.js" and have it saved separately for it to work correctly. It is trying to call up that file, and cant find it.

Also, you can try reading through this article... http://www.sitepoint.com/article/sta...ompliant-world

Hope it helps! I think the old tag was so much easier!
angele803 is offline
Reply With Quote
View Public Profile
 
Old 10-23-2006, 01:20 PM Re: xhtml new browser window
Junior Talker

Posts: 3
Name: andy
Trades: 0
Thank you,that now works.The book does not mentioned any other code.
Thanks,Andy
marmalade is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to xhtml new browser window
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.11538 seconds with 12 queries