FRIHOSTFORUMSSEARCHFAQTOSBLOGSCOMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Tag question





Scorpio
I want to know what to use instead of these tags and attributes for xhtml transitional:

toolbar attribute in a tag

menubar attribute in a tag

embed tag
n0obie4life
I can only answer the last one because I don't understand the first two Wink.

You should use the <object> tag instead.
Scorpio
I want to know what to use instead of the menubar and toolbar attributes

Code:
<a href="quotes.html" target="_blank" toolbar="no" menubar="no" >Click Here</a>


In other words, kindly convert this to valid xHtml transitional 1.0 without losing its original characteristics

Thank you
n0obie4life
Do those 2 attributes even exist in HTML??? (no, I'm not even talking about xHTML here, just HTML)
Scorpio
Well, they did and they are working on my site currently, and w3c says it is invalid xhtml, so does dreamweaver.

Are there alternatives for this, IN Javascript or stuff?

If possible you can post that./
Daniel15
Is that for a popup? If so, you can use JavaScript.

Maybe something like this:
Code:

<a href="#" onclick="javascript:window.open('quotes.html','','scrollbars=yes,menubar=no,height='+screen.height+',width='+screen.width+',resizable=yes,toolbar=no,location=no,status=no,left=0,top=0,screenX=0,screenY=0')">Click Here!</a>


This code makes a popup that is maximised (it's the same size as the screen). You can change the height and width if you like.

If you have to use it more than once, it's best to make it a JavaScript function. First, put this code at the top of the page:
Code:

<script language="JavaScript" type="text/javascript">
function openWindow(url) {
    window.open(url,'','scrollbars=yes,menubar=no,height='+screen.height+',width='+screen.width+',resizable=yes,toolbar=no,location=no,status=no,left=0,top=0,screenX=0,screenY=0'
}
</script>

Then, whenever you want to use it, do something like:
Code:

<a href="#" onclick="javascript:openWindow('quotes.html')">Click Here!</a>
Scorpio
Thanks for that daniel15.

One more Query
Code:

 <a title="Traduisez cette page en Français " href="http://www.google.com/translate?u=http://www.iscorpio.com[b]&[/b]langpair=en|fr&hl=en&ie=UTF8">


In codes like these, the &(ampersand) tag is giving an error during validation.
What should be done?

w3c validator wrote:
Error Line 309 column 126: general entity "hl" not defined and no default entity.

...ttp://www.iscorpio.com&langpair=en|fr&hl=en&ie=UTF8"


Also this

Quote:
general entity "ie" not defined and no default entity.

...www.iscorpio.com&langpair=en|fr&hl=en&ie=UTF8">


There are too much errors, but these are the generalised ones
n0obie4life
Use

Code:
&amp;
instead of "&"

Then the other errors should be fixed Wink
Related topics
I Have a question . Is it the server support Chinese?
Question before requesting free hosting
question abt posts/mth
Kinda dumb question regarding DNS
A question
UT2004 U like the game? Do u have any question post here.
Question about DNS!
Question about Domain!
What is MORALITY, the concept? Let’s be philosophers.
graphics card spec question
Remove Generator meta tag
Howto not get your Programmering Question answered
Writable select tag
Description meta tag: how many characters?
Reply to topic    Frihost Forum Index -> Support and Web Hosting -> Web Hosting Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.