» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 62
0 members and 62 guests
No Members online
Most users ever online was 611, 03-21-2008 at 11:10 PM.
» .::.
Web Hosting - web hosting, dedicated servers and web design services
Online Degree - search for 1000+ online degrees, online colleges & online universities.
Tattoo - we are a group of tattoo enthusiasts
Gexa Energy - your absolute best choice in electric service
Texas electricity - save on electric rates
Oral Chelation - initial cleansing of your veins & arteries

Register Now! Contact Us

About this Page
This is a discussion on Need a hand with a J-Script problem in a side Block within the Nuke 6.5 to 6.9 - Blocks forums, part of the PHP-Nuke 6.5 to 6.9 category; Is there a quirk that does not allow a J-Script to be placed in a Block on a left ...


Go Back   Nukemods Forum » PHP-Nuke 6.5 to 6.9 » Nuke 6.5 to 6.9 - Blocks

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-07-2003, 09:42 PM
ohl ohl is offline
Junior Member
 
Join Date: May 2003
Posts: 19
Need a hand with a J-Script problem in a side Block
Is there a quirk that does not allow a J-Script to be placed in a Block on a left or right side bar? I searched the forum and found the message about the fix for the banner rotation scripting bug, now I need to know if there is one needed for side blocks.

TIA
OHL
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 07-08-2003, 01:56 PM
Moderator
 
Join Date: Nov 2002
Posts: 737
Not as far as I know. I'm creating a menu right now that has js.

Are you trying to create a new block or incorporate the js into an existing block?

Can you be more specific about the problem please.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 07-08-2003, 02:05 PM
ohl ohl is offline
Junior Member
 
Join Date: May 2003
Posts: 19
What I am trying to do is add a J-Script for Google Adserv advertisment banners for my web site. Here is what the script looks likes.

<Xcript language="J-Script">
<!--
google_ad_client = 'pub-6160764272087904';
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = '468x60_as';
// -->
</Xcript>
<Xcript language="J-Script"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</Xcript>

I had to change the code to /Xcript to post it, it should be /S and J-Script should be Java. So you got any clues?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 07-08-2003, 04:21 PM
Moderator
 
Join Date: Nov 2002
Posts: 737
Try this:

<script language="J-Script" src="show_ads.js"></xcript>
<!--
google_ad_client = 'pub-6160764272087904';
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = '468x60_as';
// -->
</xcript>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 07-09-2003, 04:09 AM
Moderator
 
Join Date: Nov 2002
Location: Belgium
Posts: 957
IACOJ That wont work, it needs the file for generating the ads.

Check http://www.portedmods.com , we have the ads from google running but it shows up on top of every page
__________________
Yannick R. aka Mighty_Y
http://support.code-area51.com
http://www.code-area51.com

Search before asking makes my life easier!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 07-09-2003, 04:29 AM
Moderator
 
Join Date: Nov 2002
Location: Belgium
Posts: 957
Me had a bit of time and so i made the block for you, I'm still testing and finding out but you can see it here
http://www.earth-france.com
it is the block in the down left corner
__________________
Yannick R. aka Mighty_Y
http://support.code-area51.com
http://www.code-area51.com

Search before asking makes my life easier!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 07-09-2003, 01:24 PM
Moderator
 
Join Date: Nov 2002
Posts: 737
You don't upload the js to your server Mighty?

I tried to check out your block, but got an error.

Fatal error: Call to undefined function: message_die() in /home/earthfra/www/db/db.php on line 88
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 07-09-2003, 02:58 PM
Moderator
 
Join Date: Nov 2002
Location: Belgium
Posts: 957
no the js is loaded from the google server,

block gets finishing touch and I'm going to release it this evening or tommorow.

PS the message_die is caused by server failure, the guy who gave me this 100MB free hosting nows about it and is checking it out. Site works now 20h57
__________________
Yannick R. aka Mighty_Y
http://support.code-area51.com
http://www.code-area51.com

Search before asking makes my life easier!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 07-09-2003, 03:23 PM
Moderator
 
Join Date: Nov 2002
Posts: 737
I was suprised to see the error on your site actually.

Did you know the welcome msg from when you first install nuke is up there?

Block looks good.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 07-09-2003, 03:42 PM
Moderator
 
Join Date: Nov 2002
Location: Belgium
Posts: 957
Yeah I know that message is up there but what do you want from a testsite ??

I'm packing the block up so it will be released soon
__________________
Yannick R. aka Mighty_Y
http://support.code-area51.com
http://www.code-area51.com

Search before asking makes my life easier!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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 On


Similar Threads
Thread Thread Starter Forum Replies Last Post
issue posting new blocks on the right hand side of my site Casseau Open topics 3 12-08-2005 11:34 PM
Multiple centerblocks, side-by-side horizontal - possible? dentist Nuke 7.x - Blocks 0 03-31-2005 03:18 AM
Block Content Sitting out side Block killerbee Site design 3 01-26-2005 02:13 AM
Big Script in Block doneandoner Site design 0 09-12-2004 05:43 AM
another script in a block doneandoner Nuke 7.x - Blocks 1 09-11-2004 04:25 PM


All times are GMT -5. The time now is 10:58 PM.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.

LinkBacks Enabled by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31