how to use javascript and also get pass w3c compliant

200 views
Skip to first unread message

Webmaster _khanarts.com

unread,
Nov 20, 2008, 11:22:57 AM11/20/08
to Only Validation + Navigation = Crawlability
I want to use below scripts on my site www.khanarts.com but w3c shows
error for these scripts. so, i want to keep these scripts in external
files, but I don't know how to do that.


<!-- AddThis Button BEGIN -->
<script type="text/javascript">addthis_pub = 'khanarts';</script>
<a href="http://www.addthis.com/bookmark.php" onMouseOver="return
addthis_open(this, '', '[URL]', '[TITLE]')" onMouseOut="addthis_close
()" onClick="return addthis_sendto()"><img src="http://s7.addthis.com/
button1-bm.gif" width="125" height="16" border="0" alt=""></a><script
type="text/javascript" src="http://s7.addthis.com/js/152/
addthis_widget.js"></script>
<!-- AddThis Button END -->


<p><!-- FreeTellaFriend - BEGIN -->
<a href="http://www.freetellafriend.com/tell/?u=3540"
onClick="window.open('http://www.freetellafriend.com/tell/?
u=3540&title='+encodeURIComponent(document.title)
+'&url='+encodeURIComponent(document.location.href),
'freetellafriend',
'scrollbars=1,menubar=0,width=617,height=530,resizable=1,toolbar=0,location=0,status=0,screenX=210,screenY=100,left=210,top=100');
return false;" title="Tell a Friend" target="_blank"><img alt="Tell a
Friend" src="http://serv1.freetellafriend.com/button_2.gif"
border="0"></a>
<!-- FreeTellaFriend - END -->

<script src="http://web.chat4support.com:80/Weboperator/Operator/
banner.aspx?
sid=5601&sTag=KHANARTS&style=1&online=1&nFloat=1&nInvite=1&nMode=0&nPos=0"></
script>

webado

unread,
Nov 20, 2008, 12:20:52 PM11/20/08
to only-va...@googlegroups.com
If you have this code on a test page on the web so I can see it properly it would be easier.
The group format makes a mess out of any psted code.

 
--
www.webado.net
Webhosting and Design

Webmaster _khanarts.com

unread,
Nov 21, 2008, 6:21:10 AM11/21/08
to Only Validation + Navigation = Crawlability
check them here at www.khanarts.com/index.html

On Nov 20, 10:20 pm, webado <web...@gmail.com> wrote:
> If you have this code on a test page on the web so I can see it properly it
> would be easier.
> The group format makes a mess out of any psted code.
>
> On 11/20/08, Webmaster _khanarts.com <innovativecra...@gmail.com> wrote:
>
>
>
>
>
> > I want to use below scripts on my sitewww.khanarts.combut w3c shows

Webmaster _khanarts.com

unread,
Nov 21, 2008, 6:31:25 AM11/21/08
to Only Validation + Navigation = Crawlability
i have check your site webado.net you are using some script/trick
which shows whether u r online using skype . Please also let me know
to use the same.

www.khanarts.com

On Nov 20, 10:20 pm, webado <web...@gmail.com> wrote:
> If you have this code on a test page on the web so I can see it properly it
> would be easier.
> The group format makes a mess out of any psted code.
> skype.
> On 11/20/08, Webmaster _khanarts.com <innovativecra...@gmail.com> wrote:
>
>
>
>
>
> > I want to use below scripts on my sitewww.khanarts.combut w3c shows

webado

unread,
Nov 21, 2008, 8:02:32 AM11/21/08
to Only Validation + Navigation = Crawlability
It's not a javascript problem.
It's all the urls of the external scripts you are using that require
proper encoding.
All & characters need to be replaced by &amp; in all urls .

You can get the Skype thingy from the Skype website. You will have to
install a Skype plugin on your pc which will communicate your status.

On Nov 21, 6:21 am, "Webmaster _khanarts.com"
<innovativecra...@gmail.com> wrote:
> check them here atwww.khanarts.com/index.html
>
> On Nov 20, 10:20 pm, webado <web...@gmail.com> wrote:
>
>
>
> > If you have this code on a test page on the web so I can see it properly it
> > would be easier.
> > The group format makes a mess out of any psted code.
>
> > On 11/20/08, Webmaster _khanarts.com <innovativecra...@gmail.com> wrote:
>
> > > I want to use below scripts on my sitewww.khanarts.combutw3c shows
> > > error for these scripts. so, i want to keep these scripts in external
> > > files, but I don't know how to do that.
>
> > > <!-- AddThis Button BEGIN -->
> > > <script type="text/javascript">addthis_pub  = 'khanarts';</script>
> > > <a href="http://www.addthis.com/bookmark.php" onMouseOver="return
> > > addthis_open(this, '', '[URL]', '[TITLE]')" onMouseOut="addthis_close
> > > ()" onClick="return addthis_sendto()"><img src="http://s7.addthis.com/
> > > button1-bm.gif" width="125" height="16" border="0" alt=""></a><script
> > > type="text/javascript" src="http://s7.addthis.com/js/152/
> > > addthis_widget.js"></script>
> > > <!-- AddThis Button END -->
>
> > > <p><!-- FreeTellaFriend - BEGIN -->
> > > <a href="http://www.freetellafriend.com/tell/?u=3540"
> > > onClick="window.open('http://www.freetellafriend.com/tell/?
> > > u=3540&title='+encodeURIComponent(document.title)
> > > +'&url='+encodeURIComponent(document.location.href),
> > > 'freetellafriend',
>
> > > 'scrollbars=1,menubar=0,width=617,height=530,resizable=1,toolbar=0,location­=0,status=0,screenX=210,screenY=100,left=210,top=100');
> > > return false;" title="Tell a Friend" target="_blank"><img alt="Tell a
> > > Friend" src="http://serv1.freetellafriend.com/button_2.gif"
> > > border="0"></a>
> > > <!-- FreeTellaFriend - END -->
>
> > > <script src="http://web.chat4support.com:80/Weboperator/Operator/
> > > banner.aspx?
>
> > > sid=5601&sTag=KHANARTS&style=1&online=1&nFloat=1&nInvite=1&nMode=0&nPos=0">­</
> > > script>
>
> > --www.webado.net
> > Webhosting and Design- Hide quoted text -
>
> - Show quoted text -
Reply all
Reply to author
Forward
0 new messages