Search found 13 matches

by Talloula
Thu Aug 01, 2002 9:36 pm
Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Topic: Wooohooo finally, menu working with phpwebsite php and mysql
Replies: 7
Views: 6030

download it from talloula.com

the menu is placed on the download area on talloula.com
it's called mi4menu.zip
by Talloula
Fri Jul 26, 2002 3:39 pm
Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Topic: Wooohooo finally, menu working with phpwebsite php and mysql
Replies: 7
Views: 6030

I will place the code in my download area on talloula.com
by Talloula
Thu Jul 25, 2002 9:34 pm
Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Topic: PHPSESSID ruining things only the 1st time u browse the page
Replies: 3
Views: 3219

it worked!

breaking apart the "href" worked, no more PHPSESSID

and I also left the mmenu.js as a js file, and i just echoed the <script src=...></script> line in php and it worked like a charm.

thanks
Talloula
by Talloula
Thu Jul 25, 2002 8:35 am
Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Topic: Wooohooo finally, menu working with phpwebsite php and mysql
Replies: 7
Views: 6030

Wooohooo finally, menu working with phpwebsite php and mysql

I finally got the menu to read from the database, the DB is in mysql, and the front-end is in php, it's called phpwebsite.

I got three sub-levels of menus in the system, but I am only using two levels, and so far my menu only supports two levels.

I still have some tweaking to do...and any comments ...
by Talloula
Wed Jul 24, 2002 2:41 pm
Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Topic: PHPSESSID ruining things only the 1st time u browse the page
Replies: 3
Views: 3219

I thought that I "had" to rename it to .php
is it possible to leave the file as a js and then include it in the code?

and if i do that, how do I tell php not to parse .js files?

thanks for all the prompt help, this is a great menu!!!
Talal
by Talloula
Tue Jul 23, 2002 6:11 pm
Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Topic: PHPSESSID ruining things only the 1st time u browse the page
Replies: 3
Views: 3219

PHPSESSID ruining things only the 1st time u browse the page

if i browse my page in a new browser window, the menu doesn't appear
and there's errors in the page.

if i hit refresh, everything works great. i did a compare on the two sources and here's the difference.

before hitting refresh:
else{if(ns4){hlnk="<a href="\?PHPSESSID ...
by Talloula
Tue Jul 23, 2002 2:56 am
Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Topic: Zorder consideration? menu appears Underneath java and flash
Replies: 1
Views: 2356

Zorder consideration? menu appears Underneath java and flash

The menu is working perfectly, except when there is a java applet or flash movie on the page, the submenus pop-op partly covered by those applets and movies.

Is there a Zorder or "bring to front" method to fix this?
does the order of creation on the page affect how objects are placed on top of ...
by Talloula
Mon Jul 22, 2002 2:14 pm
Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Topic: horizontal menu works, vertical doesn't!
Replies: 2
Views: 3320

thanks for the vertical width tip...it worked, once i specified a width, the submenu started poping up.

it seems that every time i fix a bug i face a new one instead...
now i noticed, that if i browse to the page in new browser window, i don't see the menu, if i hit refresh...i see it again.

it's ...
by Talloula
Mon Jul 22, 2002 2:05 pm
Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Topic: php and MySQL from database...almost working!!!! help!
Replies: 6
Views: 5681

that would be awesome, please email it to me my address is talal at mi4.com
thanks in advance
Talal
by Talloula
Mon Jul 22, 2002 11:12 am
Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Topic: horizontal menu works, vertical doesn't!
Replies: 2
Views: 3320

horizontal menu works, vertical doesn't!

again, this code is automatically generated by a php script, basically the script uses the same text from a working mmenu_array.js file by using the echo() command. I am putting line breaks in the right places. then the script includes the mmenu.js.php file
when i show the menu as a horizontal menu ...
by Talloula
Mon Jul 22, 2002 10:35 am
Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Topic: php and MySQL from database...almost working!!!! help!
Replies: 6
Views: 5681

echoing from php is tricky!!!

I realized that if I add or remove one line break, it changes everything!

echo "\n"; <---

so now i'm going to re-do the whole thing more carefully, because I wasn't paying much attention to the empty spaces and new line breaks, I am not familiar with javascript and i assumed the compiler ignores ...
by Talloula
Mon Jul 22, 2002 9:42 am
Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Topic: php and MySQL from database...almost working!!!! help!
Replies: 6
Views: 5681

so having more than one entry call the same submenu will create a problem?

i knew that i had duplicates...and i need to fix the script (it's a recursive algorithm) but i first thought i'd look for more obvious problems, since logically, the duplicates would just display the same submenu...or so i ...
by Talloula
Mon Jul 22, 2002 8:01 am
Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Topic: php and MySQL from database...almost working!!!! help!
Replies: 6
Views: 5681

php and MySQL from database...almost working!!!! help!

Hello,
I got the menu to work by reading URLs from a MySQL database and dynamically creating the menu.
for the top level menu (no submenus) it works great!

when i created the second level, the submenus are created properly, or so it seems, but it is not displaying them..

here is a copy/paste from ...