Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

script on background image

Status
Not open for further replies.

w2e3r4

Programmer
Jan 9, 2011
12
0
0
IT
hi I'm using this script, slideshow background image:

<script type="text/javascript">

jQuery(function($){
$.supersized({

//Functionality
slideshow : 1,
autoplay : 1,
start_slide : 1,
slide_interval : 30
transition : 1,
transition_speed : 50
new_window : 1,
pause_hover : 0,
keyboard_nav : 1,
performance : 1,

//Size & Position
min_width : 0,
min_height : 0,
vertical_center : 1,
horizontal_center : 1,
fit_portrait : 1,
fit_landscape : 0,

//Components
navigation : 1,
thumbnail_navigation : 1,
slide_counter : 1,
slide_captions : 1,
slides : [

{image : "images/1.jpg"},
{image : 'images/2.jpg'},
{image : ' title : 'Applewood by Kitty Gallannaugh', url : '
]

});
});

</script>


I can see the image with the external link, but I can not see images in my images folder,
could be a syntax error on the path, any tips?

thanks
 
Hi

Can you access those images through the browser directly ? I mean by typing their URL in the browser's location bar.

If there is an error, either HTTP or JavaScript, that is usually displayed in the browser's console window or some debugging tool.


Feherke.
 
Thanks
I can access the images,
I can't see them in my html page, I tried:
{image: "images/1.jpg"}
{image: 'images/2.jpg'}
as I indicated
not sure about the javascript syntax,
Is correct to use "" or ''?
 
I have no errors from browser.

Any tips about debugging tool?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top