View Full Version : Almost success (Java scripts)
gtilflm
10-18-2008, 04:54 PM
So, I went through the process of learning some stuff about java scripts and HTML, etc. and I successfully implemented a custom java script onto my page.
However, I also want to have a couple text effects occuring (i.e. fading in). There seems to be some conflict between the custom script and the text effects. I either get one or the other...
1. If I have the custom script working fully (w/ no errors), the text boxes that I made effects for do not display at all.
2. If I accept some errors on the custom script, then text box effects will display and work properly.
Any ideas on where the conflict might be?
Thanks.
zeekstern
10-19-2008, 10:57 PM
It could be "where" you placed the code or in what order. Try changing the order first.
Just a thought..
Zeek
gtilflm
10-20-2008, 01:17 AM
Did you mean the order of the javascript in the head?
Thanks.
zeekstern
10-20-2008, 01:26 AM
Yes. Some scripts need to be between the Head tags and some in the Body.
But first, if you have them both in the Head section, take the first one and put it below the second one. See if that works..
My Java skills are lacking. I can drink it real good, but that's about it:D
Zeek
gtilflm
10-20-2008, 04:23 AM
Hi, I've attached a zipped word doc. w/ the HTML code that I'm working on. The offending script is the one that referecnes "tabs.js".
Thanks for the help.
zeekstern
10-20-2008, 07:33 PM
As I said, my Java skills are lacking. This means I ain't got none:D
I took a quick look anyway at your source and don't really see anything obvious that would cause problems.
I also reread your original problem and misunderstood it. I thought you wrote two Java scripts and were having problems with them. I missed the part about the "text effects". I haven't used text effects before. I assume it produces Java too? If so, build your site then look at the code generated for the text effects. See if you can combine it with your script.
That's about all I can suggest.
Good luck
Zeek
WebMonkey08
10-20-2008, 11:18 PM
Hi, I've attached a zipped word doc. w/ the HTML code that I'm working on. The offending script is the one that referecnes "tabs.js".
Thanks for the help.
Show us a link that dispalys what you want to do. I go the script from your thread
gtilflm
10-21-2008, 12:01 AM
I basically want to have these tabs in the middle of the page and people can click on or hover over each tab without reloading the page. Like http://www.amazingfacts.org/ does under the "Current Broadcasts" section:
Here is the website that I'm getting the script from: http://tutorials.mezane.org/tabbed-navigation-using-css/
I really do like the hover effect that http://www.amazingfacts.org/ uses.
Thanks for the help.
vBulletin® v3.6.7, Copyright ©2000-2009, Jelsoft Enterprises Ltd.