Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Mar 2012
    Posts
    9
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Lightbulb fader image linking

    Im using a image fader and this is the html. cant seem to link the image when i added href to it it stopped the fader working.

    Code:
    <script language="JavaScript">
    
    	// configuration structure
    	var A_TPL = {
    		'random' : false,
    		'steps' : 20,
    		'transtime': 1.5,
    		'slidetime': 5,
    		'width' : 800,
    		'height': 278,
    		'alt' : 'BC banners',
    	};
    
    	// IMAGE LINKS TO BE EDITED 
    	var A_ITEMS = [
    		'http://www.******.co.uk/*****/img/banner1.jpg',
    		'http://www.******.co.uk/*****/img/banner2.jpg',
    		'http://www.******.co.uk/*****/img/banner3.jpg',
    		'http://www.******.co.uk/*****/img/banner4.jpg'
    		
    	];
    
    	var mySlideShow = new tFader (A_ITEMS, A_TPL);
    
    </script>
    little help

  • #2
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,994
    Thanks
    4
    Thanked 2,662 Times in 2,631 Posts
    Despite the similar sounding names, Java is not the same as Javascript.
    Moving from Java forum to Javascript forum.

  • #3
    New to the CF scene
    Join Date
    Mar 2012
    Posts
    9
    Thanks
    1
    Thanked 0 Times in 0 Posts
    apologies. needed quick reply posted in haste..

    Help anyone???

  • #4
    New Coder
    Join Date
    Feb 2012
    Location
    England
    Posts
    59
    Thanks
    12
    Thanked 2 Times in 2 Posts
    Edit*: Ignore me I thought it was a diff code :P Sorry!
    Last edited by MancunianMacca; 03-01-2012 at 09:38 PM.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •