Hey I have been doing it what.... 5 years now... and I never saw that before either.

Anyway that looks like what I was looking for.

Thanks again to the best list in town!

James

On Dec 10, 2008, at 1:41 PM, Hugi Thordarson wrote:

Well, shut my mouth and paint me red. WOActiveImage has a binding called "imageMapFile" that I've never used. But I'f guess that this would generate a client side image map for you :-).

http://developer.apple.com/documentation/WebObjects/Reference/DynamicElements/WOActiveImage/chapter_3_section_4.html#/ /apple_ref/doc/uid/TP30001055-CH4-BGFFIAJH

Seriously, after almost ten years of full time WO development... Discovering new stuff about the basic dynamic elements: Embarrassing.

- hugi

// Hugi Thordarson
// http://hugi.karlmenn.is/



On 10.12.2008, at 19:35, Hugi Thordarson wrote:

If it's an option, you could also use good old WOActiveImage. It has bindings (x,y) that specify the coordinates clicked by the user, so you can process your imagemap on the server side.

It comes with a downside, though - all of the image is clickable, so the user does not get feedback about clickability of certain parts of the image when hovering over it.

http://developer.apple.com/documentation/WebObjects/Reference/DynamicElements/WOActiveImage/chapter_3_section_1.html

Cheers,
- Hugi



On 10.12.2008, at 19:22, Ramsey Lee Gurley wrote:

Hi James,

I think you need to use invokeAction. There is no action binding on WOGenericElement

http://developer.apple.com/documentation/WebObjects/Reference/DynamicElements/WOGenericElement/chapter_16_section_3.html#/ /apple_ref/doc/uid/TP30001055-CH17-TPXREF103

Ramsey

On Dec 10, 2008, at 2:10 PM, James Cicenia wrote:

How do I put a hyperlink in the image map?

I tried doing a GenericElement like:

SearchElement: WOGenericElement{
        coords="358,96,412,111";
        elementName = "area";
        shape="rect";
        alt="search" ;
        onClick = "EditForm.submit();return false;";
        action=search;
}

but it doesn't render the href portion.

Thanks
James Cicenia
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/rgurley%40mac.com

This email sent to [EMAIL PROTECTED]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/hugi%40karlmenn.is

This email sent to [EMAIL PROTECTED]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/hugi%40karlmenn.is

This email sent to [EMAIL PROTECTED]


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to