Home User CP Browse Members Calendar Register Today!  
Get New posts Faq / Help?
   

Not A Member Yet? Register today and become part of the community.

Go Back   Profuse Host Forum > World Wide Web > Programming / Scripting / Coding Forum > Javascript

Javascript Need help with the (primarily) client-side programming language? This is the place. Includes discussion on AJAX (Asynchronous JavaScript and XML).

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-30-2007, 07:43 AM
flickall
Status: Offline
Senior Member
 
Join Date: Feb 2007
Posts: 391
flickall is on a distinguished road
Default Javascript PROBLEM!!!

Guys,
We have a situation here, i have Pligg script loaded on my account & the problem is that i have a drop down menu without the Go button. so that the menu is activated immediately after selection, my problem is that i cannot add it to pligg because i get a Smarty Class.php error.

Can anyone help me on this, my pligg is situated here - http://www.flickall.com/flickit
http://www.flickall.com/shopit

I have to add the above table situated here - http://www.flickall.com/articles

you will see a table just above the header Advertisement. this has to added to the 2 pligg headers.
without the javascript menu it works fine

Please help me Guys,
__________________
-----------------------------------------
Flickall.com be innovaive
Reply With Quote

  #2 (permalink)  
Old 07-01-2007, 02:36 AM
wired076
Status: Offline
Senior Member
 
Join Date: Nov 2005
Location: Wired
Posts: 359
wired076 is on a distinguished road
Send a message via ICQ to wired076 Send a message via AIM to wired076 Send a message via MSN to wired076 Send a message via Yahoo to wired076 Send a message via Skype™ to wired076
Default

Why don't use a css menu instead of javascript so you don't encounter any of these errors. CSS is supported by all modern browsers. I use css on my homepage of my site http://wired.profusehost.net. I am currently in the process of changing my other pages over to css as it easier to add new links and to manage and create.

If you would like me to show you how to create a navigation bar like what you have up the top and the one below it just requires you to write some css code and put it in an external .css file so that it can be accessed from any one of your pages.
__________________
Please contact me via email for webmaster work/support at reasonable prices.
Email: admin@itconstruct.com.au

Visit http://www.itconstruct.com.au
Reply With Quote

  #3 (permalink)  
Old 07-01-2007, 09:52 AM
leegao
Status: Offline
Junior Member
 
Join Date: Jul 2007
Posts: 6
leegao is on a distinguished road
Default

there are many custom made css menus out there, or you can make your own, its actually very simple (if you take out the browser compatibility issues -.-)

the idea's just this:
create a list with a class like "menu" and fill it in with the items you want
create a css code for menu where when it hovers over the individual lists, it will set the display of the child items to block, of course, this is oversimplified but its the basic idea behind a menu

i think theres a really helpful link for this at http://www.cssplay.co.uk/menus/final_drop.html
Reply With Quote

  #4 (permalink)  
Old 07-01-2007, 04:14 PM
rock
Status: Offline
Senior Member
 
Join Date: Aug 2006
Location: i dont know
Posts: 242
rock is on a distinguished road
Send a message via AIM to rock Send a message via MSN to rock Send a message via Yahoo to rock Send a message via Skype™ to rock
Default

Quote:
Originally Posted by wired076 View Post
Why don't use a css menu instead of javascript so you don't encounter any of these errors. CSS is supported by all modern browsers. I use css on my homepage of my site http://wired.profusehost.net.
I've got to say one thing, most people havn't made any updates to IE, the majority of people are below 7.0. Anything below 6.0 doesn't have css fully authenticated to the browser, I've experienced problems using css because of this.
Next, they comment about you using css on your homepage is completly unnecessary. If you made a post like that in my site, I would give you a slap on the wrists and say keep that to yourself.
To flickall, if you gave me a snipit of the source that's messing up, I'll take a look and tell you if I can help or not.
__________________
http://boredportal.com
Bored Portal | Games Movies Jokes Forum and counting
Reply With Quote

  #5 (permalink)  
Old 07-03-2007, 02:51 AM
flickall
Status: Offline
Senior Member
 
Join Date: Feb 2007
Posts: 391
flickall is on a distinguished road
Default

Quote:
Originally Posted by rock View Post
I've got to say one thing, most people havn't made any updates to IE, the majority of people are below 7.0. Anything below 6.0 doesn't have css fully authenticated to the browser, I've experienced problems using css because of this.
Next, they comment about you using css on your homepage is completly unnecessary. If you made a post like that in my site, I would give you a slap on the wrists and say keep that to yourself.
To flickall, if you gave me a snipit of the source that's messing up, I'll take a look and tell you if I can help or not.
Hi Rock,
I am unable to paste a code fragment because my site is now having visitors. The error i got was containing a smarty class error because XHTML doesnot support javascript in it. i think so... i got an error only when i add the javascript code to it other than that it works very fine. if you come to http://www.flickall.com you will find that 2 services are not using javascript menu shopit & flickit otherthan that all others are using javascript menu inside a table. Hope you got the thing!
__________________
-----------------------------------------
Flickall.com be innovaive
Reply With Quote

  #6 (permalink)  
Old 07-12-2007, 08:24 PM
wired076
Status: Offline
Senior Member
 
Join Date: Nov 2005
Location: Wired
Posts: 359
wired076 is on a distinguished road
Send a message via ICQ to wired076 Send a message via AIM to wired076 Send a message via MSN to wired076 Send a message via Yahoo to wired076 Send a message via Skype™ to wired076
Default

I use css because html was never meant for formatting text. Using javascript is a bit of a luck of the draw. Even though it is really good the problem is that a user can change their browser to ignore and not display javascript at all, get it to prompt or have it automatically displayed. I use ie less than 7 on all my pc's when testing with css and have never had any problems using CSS 1 so you rock I would slap silly because you obviously don't know how to use css properly or aren't doing it via the standards set out by w3.org.

Hope this helps.

CSS is a good thing to use because it is compatible with XHTML and HTML. Do not use fancy scripting stuff like javascript for buttons (navigation) because browsers that don't display a graphic won't display the buttons and ones set up to ignore javascript as it can potentially be a problem.

Rock I would not use your site because you are wrong to a certain degree in what you are saying. CSS is compatible mostly with IE 3 and 4 and upwards so you were obviously using ones that weren't compatible with any browser. See http://www.w3schools.com/css/css_reference.asp.

All other browsers should be mostly alright but you should still check all pages created in ie, firefox, safari and in a non graphics browser to ensure that people can still navigate your site.

Hope this helps.
__________________
Please contact me via email for webmaster work/support at reasonable prices.
Email: admin@itconstruct.com.au

Visit http://www.itconstruct.com.au
Reply With Quote

  #7 (permalink)  
Old 07-14-2007, 03:31 PM
rock
Status: Offline
Senior Member
 
Join Date: Aug 2006
Location: i dont know
Posts: 242
rock is on a distinguished road
Send a message via AIM to rock Send a message via MSN to rock Send a message via Yahoo to rock Send a message via Skype™ to rock
Default

Quote:
Originally Posted by wired076 View Post
Rock I would not use your site because you are wrong to a certain degree in what you are saying. CSS is compatible mostly with IE 3 and 4 and upwards so you were obviously using ones that weren't compatible with any browser. See http://www.w3schools.com/css/css_reference.asp.
I've personally experiences problems with IE 5 css problems because they are stricter than IE6 and 7. This can be a problem when you are using IE 6 or 7 and you make an error that isn't picked up, but the compliancy standard is different from browser to browser. I've got no idea what your first sentance in that paragraph is supposed to mean, your grammar is horrible, but what I am pointing out is a compliancy variation. My health project site uses css and has problems with older browsers ( www.quititnow.org ) even though "CSS is compatible mostly with IE 3 and 4 and upwards so you were..."

Unless the computer that my teacher was using was using IE2 I think you might be wrong.
__________________
http://boredportal.com
Bored Portal | Games Movies Jokes Forum and counting
Reply With Quote

Reply

« Data base | Network »

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to use javascript in asp.net 2.0 priya Javascript 0 05-24-2007 05:06 PM
do i need to download javascript? batista c c Javascript 0 05-24-2007 05:06 PM
Help with JavaScript? RobbDogg Javascript 1 05-23-2007 11:36 AM
What is javascript? Lovely Coconuts ♥ Javascript 2 05-23-2007 02:49 AM
Problem Using JavaScript bslfanclub Free Web Hosting Support 2 08-27-2006 01:47 AM


All times are GMT -7. The time now is 06:28 PM.

Skin Design By vBSkinworks



Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

Sponsored by Web Hosting


Profuse Solutions LLC

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80