Dragonfish
Programmer
Hi Everyone,
I read the following articale about dropdown menus and it changed my perspective. The only trouble was - when I tried it - it didn't work. I know I'm going to have to dig into this subject a lot deeper but right now I would appreciate some help. This is what I wrote to Nick Rigby (who wrote the article) but I haven't had a reply so if anyone can help out - would be much appreciated...
Dear Nick,
I hope you don't mind me bothering you about the article you wrote in If you do - just tell me RTFM and I won't take it personally.
I loved your article in In short - I'm converted. Like many people I have up till now written meuns using tables and I didn't have a clue how to write drop down menus. I've searched the web for some javascript code, but it always confused the hell out of me. I am not really a programmer (lack of intelligence).
Generally I understood what you were doing and I also backtracked to Patrick Griffiths's Suckerfish Dropdowns to try and get a better understanding of the detail - and failed !!!
My problem is that I am running a company in Uganda (just started up) and I just don't have time to immerse myself in the nuts & bolts of the whole thing and the guys who write the website stuff actually have less idea than I do. Basically my problems are as follows:-
- I didn't understand how you were accessing the css code. Up till now I've done it like this - in a separate css-file
. name-something { background-color: #9F9F9F; etc }
and invoked it in the document with something like
<p class="name-something">some text</p> and that has worked fine
I'm assuming that
ul li a {
goes into the css file just like that - but how do I call it in the HTML code - and where (I'm showing my ignorance I know). And can't I rename ul li a { to something else or is that a convention ???
Also I didn't understand this. Actually I don't know what it is (not javascript ???) and where to put it and how ???
/* Fix IE. Hide from IE Mac \*/
* html ul li { float: left; height: 1%; }
* html ul li a { height: 1%; }
/* End */
I have a file for anything to do with javascript that I call main.js and I use it like this...
<SCRIPT language="JavaScript" src="./javascriptfiles/main.js" type="text/javascript"> <BODY onLoad="some-function()">
But I didn't understand how to load startList = function() { Why not just startList() ???
I would really would have appreciated the final html code - I think then I would have understood a few things about which I'm asking questions now. I usually don't like spoon feeding people and I'll bet you don't either but your article was a revelation - I'm just not proficient to use it (but I really would like to !!!). Some of your readers are not as intelligent as you give them credit for...
Thanks for the help
----------------------------------------------------------
Meddle not in the affarirs of Dragons
for you are chrunchy and good with Mustard
----------------------------------------------------------
I read the following articale about dropdown menus and it changed my perspective. The only trouble was - when I tried it - it didn't work. I know I'm going to have to dig into this subject a lot deeper but right now I would appreciate some help. This is what I wrote to Nick Rigby (who wrote the article) but I haven't had a reply so if anyone can help out - would be much appreciated...
Dear Nick,
I hope you don't mind me bothering you about the article you wrote in If you do - just tell me RTFM and I won't take it personally.
I loved your article in In short - I'm converted. Like many people I have up till now written meuns using tables and I didn't have a clue how to write drop down menus. I've searched the web for some javascript code, but it always confused the hell out of me. I am not really a programmer (lack of intelligence).
Generally I understood what you were doing and I also backtracked to Patrick Griffiths's Suckerfish Dropdowns to try and get a better understanding of the detail - and failed !!!
My problem is that I am running a company in Uganda (just started up) and I just don't have time to immerse myself in the nuts & bolts of the whole thing and the guys who write the website stuff actually have less idea than I do. Basically my problems are as follows:-
- I didn't understand how you were accessing the css code. Up till now I've done it like this - in a separate css-file
. name-something { background-color: #9F9F9F; etc }
and invoked it in the document with something like
<p class="name-something">some text</p> and that has worked fine
I'm assuming that
ul li a {
goes into the css file just like that - but how do I call it in the HTML code - and where (I'm showing my ignorance I know). And can't I rename ul li a { to something else or is that a convention ???
Also I didn't understand this. Actually I don't know what it is (not javascript ???) and where to put it and how ???
/* Fix IE. Hide from IE Mac \*/
* html ul li { float: left; height: 1%; }
* html ul li a { height: 1%; }
/* End */
I have a file for anything to do with javascript that I call main.js and I use it like this...
<SCRIPT language="JavaScript" src="./javascriptfiles/main.js" type="text/javascript"> <BODY onLoad="some-function()">
But I didn't understand how to load startList = function() { Why not just startList() ???
I would really would have appreciated the final html code - I think then I would have understood a few things about which I'm asking questions now. I usually don't like spoon feeding people and I'll bet you don't either but your article was a revelation - I'm just not proficient to use it (but I really would like to !!!). Some of your readers are not as intelligent as you give them credit for...
Thanks for the help
----------------------------------------------------------
Meddle not in the affarirs of Dragons
for you are chrunchy and good with Mustard
----------------------------------------------------------