[Webkit-unassigned] [Bug 7908] Links with anchors opened from a Netspace plugin reload the target frame
bugzilla-daemon at opendarwin.org
bugzilla-daemon at opendarwin.org
Thu Jul 6 23:10:59 PDT 2006
http://bugzilla.opendarwin.org/show_bug.cgi?id=7908
------- Comment #4 from jerome.foucher at free.fr 2006-07-06 23:10 PDT -------
As said in my first post, I'm using the function :
browser->geturl(instance, "scan.html#_scan01", "scanimg");
"scanimg" is, of course, the name of the right frame of the HTML page.
Each image from the right frame has an anchor named "_scanXX" with XX the index
of the image in the frame.
My plugin is based on Apple's sample-code one can find the in the
Examples/WebKit/NetscapeMoviePlugin folder of the developer tools folder.
Thus the browser variable is obtained like that :
NPError NP_Initialize(NPNetscapeFuncs* browserFuncs)
{
browser = browserFuncs;
return NPERR_NO_ERROR;
}
"instance" is the plugin's instance variable obtained as a parameter of each
NPP_ functions
geturl works fine as long as I don't use anchors.
Hope this helps.
--
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list