On 5/17/06, Teddy Payne <[EMAIL PROTECTED]> wrote:
You want the entire line that has the addItem methods?
So, your goal is to capture all the new menu items?
TeddyOn 5/17/06, Steven Ross < [EMAIL PROTECTED]> wrote:Hi all... this stuff always boggles my mind when I try to do it so yet again I'm asking for help.
I'm trying to match only strings like the one below in a JS file using ReFind and return them individually.
menu1.addItem ("Architecture","http://infoserve.glenayre.com/AdvancedDev/default.html ");
I have something like this but I think it is getting the first match all the way to the last ";"
<cfset parsed_content = ReFind("menu[0-9]+[^;]\);", menu_content, 1, "True") />
<snip from js file>
//var menu2 = ms.addMenu(document.getElementById("menu2"));
//menu2.addItem("Updates","http://www.highend3d.com/maya/");
/* DEPARTMENTS MENU */
var menu1 = ms.addMenu(document.getElementById ("dropdown1"));
menu1.addItem("Architecture","http://infoserve.glenayre.com/AdvancedDev/default.html ");
menu1.addItem ("Atlanta Engineering","http://157.230.162.126/");
menu1.addItem("Compliance","/infoserve/departments/compliance/");
//menu1.addItem("Bids and Proposals","#");
menu1.addItem("Engineering Product Assurance","http://157.230.167.122/");
</snip from js file>
--
Steven Ross
web application & interface developer
http://www.zerium.com
[phone] 404-488-4364-------------------------------------------------------------
To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform
For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by FusionLink
-------------------------------------------------------------
-------------------------------------------------------------
To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform
For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by FusionLink
-------------------------------------------------------------
--
Steven Ross
web application & interface developer
http://www.zerium.com
[phone] 404-488-4364
-------------------------------------------------------------
To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform
For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by FusionLink
-------------------------------------------------------------