Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
java script problem. 1st image not showing
Old 09-18-2008, 04:42 AM java script problem. 1st image not showing
CircleOfLinks's Avatar
Extreme Talker

Posts: 243
Name: Danny
Location: Sydney
Trades: 1
hey guys,

any one know why the first image is not showing up? its not showing in FF, or IE. unless you click on the 'start over' or 'next buttons'

you can see the script here.

www.swiftproductions.com.au/gm/do_it_yourself.html

i got it from

http://www.javascriptkit.com/script/.../pslide2.shtml

thanks heaps.
__________________
Danny

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
CircleOfLinks is offline
Reply With Quote
View Public Profile Visit CircleOfLinks's homepage!
 
 
Register now for full access!
Old 09-18-2008, 05:34 AM Re: java script problem. 1st image not showing
tripy's Avatar
Do not try this at home!

Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
Trades: 0
The first pic points to http://www.swiftproductions.com.au/gm/plane1.gif
and if I try to open the pic directly, I've got:
Quote:
Not Found

The requested URL /gm/plane1.gif was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
So, I'd say that you forgot to upolad the image, or that it's name is mispelled.


Remember too that file name are case sensitive on linux server (your might be), but not on windows.
a image named "Plane1.gif" will be ok when the img href is "plane1.gif" on windows, but it will create an 404 error when the site is uploaded to a unix like server.


Check if the image is there, and if it is, check the case of the filename and what you put in the page.
__________________
Only a biker knows why a dog sticks his head out the window.
tripy is offline
Reply With Quote
View Public Profile Visit tripy's homepage!
 
Old 09-18-2008, 08:43 AM Re: java script problem. 1st image not showing
CircleOfLinks's Avatar
Extreme Talker

Posts: 243
Name: Danny
Location: Sydney
Trades: 1
tripy thanks heas mate. worked

maybee you can help me out with another thing... I want to change the font size on http://www.swiftproductions.com.au/gm/faq.html - I'm talking about the font size in the white box's. Got any sujjestions? I;ve tried everything
__________________
Danny

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
CircleOfLinks is offline
Reply With Quote
View Public Profile Visit CircleOfLinks's homepage!
 
Old 09-18-2008, 09:18 AM Re: java script problem. 1st image not showing
tripy's Avatar
Do not try this at home!

Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
Trades: 0
:-)

In the file "style.css", on the line 8, you have a font-size:10px that applies to every select element.
This is your problem.

If you want to keep a default font size size of 10px on the select, you should add a class to that precise select, and define another font-size for that specific class.

Be sure to put the definition of that class after the default.
The browser read the css from top to bottom, and apply the css values in that order. If you place the defaut behavior at the end of the css file, it will override the values defined before.

For example, a font size of 13px and width of 700px applied to the select looks good on my browser (FF3)
It stay in your mask, and is readable.
__________________
Only a biker knows why a dog sticks his head out the window.

Last edited by tripy; 09-18-2008 at 10:47 AM..
tripy is offline
Reply With Quote
View Public Profile Visit tripy's homepage!
 
Reply     « Reply to java script problem. 1st image not showing
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.41136 seconds with 12 queries