See if using single quotes help i.e. <a target="_blank" href=# onClick="openhit('[EMAIL PROTECTED]'); return false;">
> when I put dashes on [EMAIL PROTECTED] always gives me the same error :( > > Error: no ben format > Fitxer font: http://192.168.2.8:4000/hitresult.xsl > Line: 60, column: 29 > Codi font: > <a target="_blank" href=# onClick="openhit(\"[EMAIL PROTECTED]"); return > false;"> > > Error: uncaught exception: [Exception... "Component returned failure > code: 0x80600001 [nsIXSLTProcessor.importStylesheet]" nsresult: > "0x80600001 (<unknown>)" location: "JS frame :: > http://192.168.2.8:4000/default.js :: <TOP_LEVEL> :: line 810" data: > no] > > > that is what I have on default.js function > > function openhit(url) //line 777 > { > alert (url); > } > > > > Blackhold > > +++++++++++++++++++++++++ > Material SCG08 > http://associacio-aoe.org/scg/charlas > +++++++++++++++++++++++++ > Respect free software communities and use free and/or standard formats > while sending attached files. Files such .doc, .xls, are formats that > don't follow the standard rules and may cause problems on viewing or > in the format of the text when these are opened with programs where > thousands users communities develops free software. So that I ask for > the files that are sent to me, to be odf, ods, odp, svg, png or in > default pdf. Thanks you a lot... > > On Thu, Jul 17, 2008 at 1:06 PM, Debajyoti Bera <[EMAIL PROTECTED]> wrote: > > Use the suggestion below ... > > > >> <a target="_blank" href=# onClick="openhit(\"[EMAIL PROTECTED]"); return > >> false;"> > > > > Make sure you have the "return false". > > > >> and add a method like > >> function openhit (url) > >> { > >> //... open a new window using javascript > >> // verify the javascript - I am writing from memory > >> > >> var newurl = url.replace ("file:///", "http://host/var/www/"); > >> window.open(newurl); > >> } > > > > -- > > ----------------------------------------------------- > > Debajyoti Bera @ http://dtecht.blogspot.com > > beagle / KDE / Mandriva / Inspiron-1100 -- ----------------------------------------------------- Debajyoti Bera @ http://dtecht.blogspot.com beagle / KDE / Mandriva / Inspiron-1100 _______________________________________________ Dashboard-hackers mailing list Dashboard-hackers@gnome.org http://mail.gnome.org/mailman/listinfo/dashboard-hackers