What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Skype & Live Messenger » My new website

Pages: (2): « First « 1 [ 2 ] Last »
My new website
Author: Message:
tony
Senior Member
****

Avatar

Posts: 976
Reputation: 54
36 / Male / Flag
Joined: Jul 2004
RE: My new website
nice forum theme (Y) the colors are really great :)
[Image: beginnerbadgeef2.gif][Image: danceichigoow9.gif]
09-24-2005 02:42 PM
Profile PM Web Find Quote Report
ShawnZ
Veteran Member
*****

Avatar

Posts: 3146
Reputation: 43
32 / Male / Flag
Joined: Jan 2003
RE: My new website
quote:
Originally posted by hmaster
overflow:auto;

No, that will show a scrollbar. Instead you need overflow:hidden to disable scrollbars.
Spoiler:
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
09-24-2005 02:57 PM
Profile PM Web Find Quote Report
Yousef
Full Member
***

Avatar
(previously known as Juzzi)

Posts: 487
Reputation: 19
35 / Male / Flag
Joined: Jul 2004
O.P. RE: My new website
It should be fixed now, I changed overflow-y:hidden to overflow:hidden ;)
Developer of BuddyFuse: Google Talk, Twitter and Hyves in Windows Live Messenger
Ex-Microsoft intern and Windows Live Developer MVP in 2007 & 2008
09-24-2005 03:01 PM
Profile E-Mail PM Web Find Quote Report
hmaster
Senior Member
****

Avatar

Posts: 716
Reputation: 24
33 / Male / Flag
Joined: Nov 2004
RE: My new website
quote:
Originally posted by ShawnZ
quote:
Originally posted by hmaster
overflow:auto;
No, that will show a scrollbar. Instead you need overflow:hidden to disable scrollbars.
True, but using auto should work too.

quote:
Originally posted by Juzzi
Hmm I could do document.write, I'll think about it, thanks.
I used:
code:
inc_syndicate_js =
'<marquee direction="left" height="20px" loop="30" scrollamount="2" scrolldelay="2" behavior="slide">'
+ 'New site now up!'
+ '</marquee>';

// end_var_declaration
document.write(inc_syndicate_js);
And then in the webpage I used
code:
<div id="marquee"><script type="text/javascript" src="marquee.js"></script> </div>

This post was edited on 09-24-2005 at 03:10 PM by hmaster.
[Image: sig.png]
09-24-2005 03:04 PM
Profile PM Web Find Quote Report
Yousef
Full Member
***

Avatar
(previously known as Juzzi)

Posts: 487
Reputation: 19
35 / Male / Flag
Joined: Jul 2004
O.P. RE: My new website
Yes I've seen what you did. Anyway, your page validates now, but officially it isn't 'valid'. But thanks, I'll probably use your method, back ontopic ;)
Developer of BuddyFuse: Google Talk, Twitter and Hyves in Windows Live Messenger
Ex-Microsoft intern and Windows Live Developer MVP in 2007 & 2008
09-24-2005 03:23 PM
Profile E-Mail PM Web Find Quote Report
_Humphreys
Veteran Member
*****


Posts: 1140
Reputation: 20
24 / – / Flag
Joined: Nov 2003
Status: Away
RE: My new website
I remember your site...someone fake emailed me from it. ¬_¬ I saw the new design and I really like it. Keep up the good work.
AC3
09-24-2005 03:35 PM
Profile PM Find Quote Report
-dt-
Scripting Contest Winner
*****

Avatar
;o

Posts: 1819
Reputation: 74
35 / Male / Flag
Joined: Mar 2004
RE: My new website
quote:
Originally posted by hmaster
I used:

    code:inc_syndicate_js =
    '<marquee direction="left" height="20px" loop="30" scrollamount="2" scrolldelay="2" behavior="slide">'
    + 'New site now up!'
    + '</marquee>';

    // end_var_declaration
    document.write(inc_syndicate_js);


And then in the webpage I used

    code:
    <script type="text/javascript" src="marquee.js"></script>



OH GOD!!!!!!!!!!!!!!!!!!!!!!!!!!
document.write = evil! it should never be used in xhtml docs since it can presume it needs to write to a new document and clear your page then start writing.


use something like

code:
var m =document.getElementById('marquee');

inc_syndicate_js =
'<marquee direction="left" height="20px" loop="30" scrollamount="2" scrolldelay="2" behavior="slide">'
+ 'New site now up!'
+ '</marquee>';

// end_var_declaration
m.innerHTML = inc_syndicate_js;


to insert the maquee into the div.
[Image: dt2.0v2.png]      Happy Birthday, WDZ
09-24-2005 03:38 PM
Profile PM Web Find Quote Report
hmaster
Senior Member
****

Avatar

Posts: 716
Reputation: 24
33 / Male / Flag
Joined: Nov 2004
RE: My new website
quote:
Originally posted by -dt-
code:
code:
var m =document.getElementById('marquee');
to insert the maquee into the div.
Why, the other way works fine, its not document.write its basically like include()
[Image: sig.png]
09-24-2005 03:45 PM
Profile PM Web Find Quote Report
-dt-
Scripting Contest Winner
*****

Avatar
;o

Posts: 1819
Reputation: 74
35 / Male / Flag
Joined: Mar 2004
RE: My new website
quote:
Originally posted by hmaster
quote:
Originally posted by -dt-
code:
code:
var m =document.getElementById('marquee');
to insert the maquee into the div.

Why, the other way works fine, its not document.write its basically like include()
IT IS DOCUMENT.WRITE LOOK AT YOUR CODE!!!!!!!!!!!!!!

innerHTML is alot better way then document.write , document.write is stupid we have a DOM for a reson people , by using document.write your basicly saying "hey i sure as hell dont care for the DOM so lets write random crap to it and hope it parses it right"
another better way (a WAY better way) would be a full DOM approch with
code:
var orginalElement =document.getElementById('marquee');
var mElement = document.createElement('marquee');
mElement.setAttribute('direction','left');
mElement.setAttribute('style','height:20px');
mElement.setAttribute('loop','30');
mElement.setAttribute('scrollamount','2');
mElement.setAttribute('behavior','slide');
orignalElement.appendChild(mElement);


also YOUR DOCUMENT ISNT XHTML VALID if you cheat like this (thats what your doing is cheating the checker)

http://www.w3.org/MarkUp/2004/xhtml-faq#docwrite
http://ln.hixie.ch/?start=1091626816&count=1
http://www.xml.com/pub/a/2003/03/19/dive-into-xml.html
[Image: dt2.0v2.png]      Happy Birthday, WDZ
09-24-2005 03:59 PM
Profile PM Web Find Quote Report
Yousef
Full Member
***

Avatar
(previously known as Juzzi)

Posts: 487
Reputation: 19
35 / Male / Flag
Joined: Jul 2004
O.P. RE: My new website
quote:
Originally posted by -dt-
also YOUR DOCUMENT ISNT XHTML VALID if you cheat like this (thats what your doing is cheating the checker)
That's what I said. But ehm, can someone split this thread :P?
Developer of BuddyFuse: Google Talk, Twitter and Hyves in Windows Live Messenger
Ex-Microsoft intern and Windows Live Developer MVP in 2007 & 2008
09-24-2005 04:03 PM
Profile E-Mail PM Web Find Quote Report
Pages: (2): « First « 1 [ 2 ] Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On