TheJoshMan
01-20-2006, 02:56 PM
Ok, here's what i can figure... I just need to repeatedly pound my head against a wall until the answer comes to me... I am using a menu that I like, but the code is somewhat trivial all around... but I am using an "AlertBox" to display contact info of members on the site I am building, good idea 2 save space, but not so good an idea to save my poor head. The problem I keep running into is that inside of this submenu0.addItem("This is a members name","javascript:alert('and this is thier contact info')"); now something that small works just fine... but when you get into
This is a members name
Mailing Address:
HC 67 Box 63
SomeTown, BS 42069
Directions:
3 miles south on Highway 69B
then 8 miles east on Highway 420
Telephone: 555.420.6969
putting all of that inside of the alertbox and getting it to align like that is a diff story... I can't use any </br><p><ul><li><ol> NOTHIN... so i have been using the good old fashioned & n b s p just without spaces between each character.and I have been using them in exponential amounts.... to created the formatting effect I needed... now the problem is I use IE6 and it all looks fine on my end... i had someone look at it in firefox and she saw every single one of those & n b s p on the site... it read them as text instead of as a stroke of the spacebar.... and she also viewed it in IE6 and said on her end it looked more like this.....
This is a members name
Mailing Address:
HC 67 Box 63
SomeTown, BS 42069
Directions:
3 miles south on Highway 69B
then 8 miles east on Highway 420
Telephone: 555.420.6969
So what i'm gettin at is I was goin to try to use one of the DHTML tooltips on this site instead of an alertbox... but i can't figure out how to get the script to call the function to use the tooltip.... here is the tooltip i would like to use.... http://www.dynamicdrive.com/dynamicindex5/linkfloaties.htm
showfloatie('<b>I\'m the king of the world!</b>', event)
and here is an example of the attempt i had made... *note this was after already pasting the script in that page into the head of my page....
submenu0.addItem("This is a members name","javascript:showfloatie('and this is thier contact info', event)");
along with many other variations of the same.... or difff i can't seem to figure it out... here is the addy so you can see what i am talkin about....
http://www.waldronar.com/Test/index.html
Now if you want all the files to take a look at them to see what i need to do... here ya go...
http://www.waldronar.com/Test/transmenu.js
http://www.waldronar.com/Test/transmenu.css
http://www.waldronar.com/Test/styles.css
that plus the index.html are all the files that the menu needs to function... NE Ideas?
This is a members name
Mailing Address:
HC 67 Box 63
SomeTown, BS 42069
Directions:
3 miles south on Highway 69B
then 8 miles east on Highway 420
Telephone: 555.420.6969
putting all of that inside of the alertbox and getting it to align like that is a diff story... I can't use any </br><p><ul><li><ol> NOTHIN... so i have been using the good old fashioned & n b s p just without spaces between each character.and I have been using them in exponential amounts.... to created the formatting effect I needed... now the problem is I use IE6 and it all looks fine on my end... i had someone look at it in firefox and she saw every single one of those & n b s p on the site... it read them as text instead of as a stroke of the spacebar.... and she also viewed it in IE6 and said on her end it looked more like this.....
This is a members name
Mailing Address:
HC 67 Box 63
SomeTown, BS 42069
Directions:
3 miles south on Highway 69B
then 8 miles east on Highway 420
Telephone: 555.420.6969
So what i'm gettin at is I was goin to try to use one of the DHTML tooltips on this site instead of an alertbox... but i can't figure out how to get the script to call the function to use the tooltip.... here is the tooltip i would like to use.... http://www.dynamicdrive.com/dynamicindex5/linkfloaties.htm
showfloatie('<b>I\'m the king of the world!</b>', event)
and here is an example of the attempt i had made... *note this was after already pasting the script in that page into the head of my page....
submenu0.addItem("This is a members name","javascript:showfloatie('and this is thier contact info', event)");
along with many other variations of the same.... or difff i can't seem to figure it out... here is the addy so you can see what i am talkin about....
http://www.waldronar.com/Test/index.html
Now if you want all the files to take a look at them to see what i need to do... here ya go...
http://www.waldronar.com/Test/transmenu.js
http://www.waldronar.com/Test/transmenu.css
http://www.waldronar.com/Test/styles.css
that plus the index.html are all the files that the menu needs to function... NE Ideas?