The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

banners

3 posters

Go down

banners Empty banners

Post by DjCrazyCol March 14th 2010, 5:35 pm

I`ve got a couple of questions regarding banners that i need help with.

1. i`ve read on another thread somewhere about opening clickable banners in the same window by removing "target= blank" or something like that, (which ours do at presant), i want ours to open in a new window, so what do i need to add and where to acheive this ?

2. on a banner i`ve created the link added to the script doesnt work "http://www.lizardrigs.co.uk/index.asp" this link works fine in other windows and bookmarks, so why would it not work when added to the script ? the picture i`ve added comes up fine but when clicked on error message "404 - Not found"

i`m a total beginer with regards to these issues and any help would be greatly received.

Thx


Last edited by DjCrazyCol on March 14th 2010, 5:38 pm; edited 1 time in total (Reason for editing : spelling)
avatar
DjCrazyCol
New Member

Posts : 7
Reputation : 0
Language : english

Back to top Go down

banners Empty Re: banners

Post by DjCrazyCol March 14th 2010, 7:48 pm

I`ve sorted out problem No 2 an error on my part which i`ve now corrected.

Just need help with problem No1
avatar
DjCrazyCol
New Member

Posts : 7
Reputation : 0
Language : english

Back to top Go down

banners Empty Re: banners

Post by DjCrazyCol March 16th 2010, 10:03 pm

Any programmers out there who wanna help me out ??? fufufu
avatar
DjCrazyCol
New Member

Posts : 7
Reputation : 0
Language : english

Back to top Go down

banners Empty Re: banners

Post by kirk March 16th 2010, 11:02 pm

html code
Code:
<a href="YOUR LINK HERE" class="postlink" target="_blank">YOUR BANNER IMAGE LINK HERE</a>

or

bbcode
Code:
 [url=YOUR LINK HERE]YOUR BANNER IMAGE LINK HERE[/url]
kirk
kirk
Forumaster

Male Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

banners Empty Re: banners

Post by Jalochee March 16th 2010, 11:05 pm

hi kirk,

can u show me how to to that blinking thingy?
Jalochee
Jalochee
Forumember

Female Posts : 113
Reputation : 0
Language : secrit
Location : secrit

Back to top Go down

banners Empty Re: banners

Post by DjCrazyCol March 18th 2010, 1:29 pm

thx for the code, where do i need to put it in the script ?

thx in advance
avatar
DjCrazyCol
New Member

Posts : 7
Reputation : 0
Language : english

Back to top Go down

banners Empty Re: banners

Post by kirk March 18th 2010, 3:25 pm

it depends where you are putting the banner?

bbcode can be used for post.. html can be used for homepage message ,templates,widgets etc..

then if you have html enabled for the whole forum you can use html everywhere.
kirk
kirk
Forumaster

Male Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

banners Empty Re: banners

Post by DjCrazyCol March 18th 2010, 7:41 pm

<SCRIPT LANGUAGE="JavaScript">
<!--

/*
Script by FPMC at http://jsarchive.8m.com
Submitted to JavaScript Kit (http://javascriptkit.com)
For this and 400+ free scripts, visit http://javascriptkit.com
*/



//set image paths
src = ["https://2img.net/h/i377.photobucket.com/albums/oo220/DjCrazyCol/carp-forum-3.png", "https://2img.net/h/i377.photobucket.com/albums/oo220/DjCrazyCol/FWOK-2.png","https://2img.net/h/i377.photobucket.com/albums/oo220/DjCrazyCol/kentbanner4-2.png","https://2img.net/h/i377.photobucket.com/albums/oo220/DjCrazyCol/lizard2-2.png","https://2img.net/h/i377.photobucket.com/albums/oo220/DjCrazyCol/pittlandsbanner-1-1.png",]


//set corresponding urls
url = ["http://www.carp-forums.com/index.php", "http://www.fishingworldkent.co.uk/","http://www.kentcoastal.com/","http://www.lizardrigs.co.uk/index.asp","http://pittlands.webs.com/",]


//set duration for each image
duration = 5;

//Please do not edit below
ads=[]; ct=0;
function switchAd() {
var n=(ct+1)%src.length;
if (ads[n] && (ads[n].complete || ads[n].complete==null)) {
document["Ad_Image"].src = ads[ct=n].src;
}
ads[n=(ct+1)%src.length] = new Image;
ads[n].src = src[n];
setTimeout("switchAd()",duration*1000);
}
function doLink(){
location.href = url[ct];
} onload = function(){
if (document.images)
switchAd();
}
//-->
</SCRIPT>


<A HREF="javascript:doLink();" onMouseOver="status=url[ct];return true;"
onMouseOut="status=''">
<IMG NAME="Ad_Image" SRC="image1.gif" BORDER=0>
</A>

<p align="center"><font face="arial" size="-2">This free script provided by <a href="http://javascriptkit.com">JavaScript Kit</a></font></p>


This is my present script that i`m using on our forum, the banners appear near the top of the page.
avatar
DjCrazyCol
New Member

Posts : 7
Reputation : 0
Language : english

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum