Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Writing javascript code in every page of my site using aspx

Reply
Thread Tools

Writing javascript code in every page of my site using aspx

 
 
Antonio
Guest
Posts: n/a
 
      06-04-2004
Good Morning,
I would want to use aspx to write this javascript code for me in every
page of my site www.etantonio.it how can I do this ???


<script type="text/javascript"><!--
google_ad_client = "pub-XXXXXXXXXXXX";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_channel ="";
google_color_border = ["B4D0DC","A8DDA0","578A24"];
google_color_bg = ["ECF8FF","EBFFED","CCFF99"];
google_color_link = ["0000CC","0000CC","00008B"];
google_color_url = ["008000","008000","00008B"];
google_color_text = ["6F6F6F","6F6F6F","000000"];
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>


Thanks


Ing. Antonio D'Ottavio
http://www.velocityreviews.com/forums/(E-Mail Removed)
www.etantonio.it
 
Reply With Quote
 
 
 
 
Martin Marinov
Guest
Posts: n/a
 
      06-04-2004
Create a User Web Control And include this control in every page

Regards
Martin

"Antonio" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) m...
> Good Morning,
> I would want to use aspx to write this javascript code for me in every
> page of my site www.etantonio.it how can I do this ???
>
>
> <script type="text/javascript"><!--
> google_ad_client = "pub-XXXXXXXXXXXX";
> google_ad_width = 728;
> google_ad_height = 90;
> google_ad_format = "728x90_as";
> google_ad_channel ="";
> google_color_border = ["B4D0DC","A8DDA0","578A24"];
> google_color_bg = ["ECF8FF","EBFFED","CCFF99"];
> google_color_link = ["0000CC","0000CC","00008B"];
> google_color_url = ["008000","008000","00008B"];
> google_color_text = ["6F6F6F","6F6F6F","000000"];
> //--></script>
> <script type="text/javascript"
> src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
> </script>
>
>
> Thanks
>
>
> Ing. Antonio D'Ottavio
> (E-Mail Removed)
> www.etantonio.it



 
Reply With Quote
 
 
 
 
Steve Drake
Guest
Posts: n/a
 
      06-04-2004
Derive you pages from your one base class, add register start-up script to
include this script, or... if your page is built from reusable server
controls and you cannot control the page (eg used in Sharepoint or other
portal / CMS) then you can derive all you server controls from a common
bases class and add this script using register start up script.

Steve

"Antonio" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) m...
> Good Morning,
> I would want to use aspx to write this javascript code for me in every
> page of my site www.etantonio.it how can I do this ???
>
>
> <script type="text/javascript"><!--
> google_ad_client = "pub-XXXXXXXXXXXX";
> google_ad_width = 728;
> google_ad_height = 90;
> google_ad_format = "728x90_as";
> google_ad_channel ="";
> google_color_border = ["B4D0DC","A8DDA0","578A24"];
> google_color_bg = ["ECF8FF","EBFFED","CCFF99"];
> google_color_link = ["0000CC","0000CC","00008B"];
> google_color_url = ["008000","008000","00008B"];
> google_color_text = ["6F6F6F","6F6F6F","000000"];
> //--></script>
> <script type="text/javascript"
> src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
> </script>
>
>
> Thanks
>
>
> Ing. Antonio D'Ottavio
> (E-Mail Removed)
> www.etantonio.it



 
Reply With Quote
 
 
 
Reply

Thread Tools

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Writing source code back to the aspx page =?Utf-8?B?dG9ycA==?= ASP .Net 0 12-28-2006 03:40 AM
How to explicitly run page javascript every time the page load? Jensen bredal ASP .Net 2 10-06-2005 09:10 AM
How to bring aspx code (in HTML view) to the aspx.vb code-behind? Paolo Pignatelli ASP .Net 6 02-21-2005 01:55 AM
Writing javascript code in every page of my site using aspx Antonio ASP .Net Building Controls 3 07-07-2004 10:00 AM
Writing javascript code in every page of my site using aspx Antonio ASP .Net Web Controls 1 06-04-2004 04:20 PM



Advertisments