Hey,

iUI deals with href values of <a> elements, so it's kind of "normal"
it doesn't work as expected.
Just replace
<area shape="rect" coords="118,107,202,196" href="#screen2" target="_parent" />
by
<area shape="rect" coords="118,107,202,196"
href="javascript:iui.showPage(document.getElementById('screen2'))" />

Is that good to you?

Remi



On Wed, Dec 7, 2011 at 14:11, Nathan Jeynes <[email protected]> wrote:
> im using the iUI framework, http://www.iui-js.org/.
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://
> www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html>
> <head>
>   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /
>>
>   <meta name="viewport" content="width=device-width; initial-
> scale=1.0; maximum-scale=1.0; user-scalable=0;"/>
>
>   <link rel="stylesheet" href="iui.css" type="text/css" />
>   <link rel="stylesheet" href="t/default/default-theme.css"
> type="text/css"/>
>   <script type="application/x-javascript" src="iui.js"></script>
> </head>
> <body>
>   <div class="toolbar">
>     <h1 id="pageTitle"></h1>
>     <a id="backButton" class="button" href="#"></a>
>   </div>
>
>   <div id="screen1" title="Vibe Experience" selected="true">
>
>   <img src="vibeexperience.png" alt="BG2" width="100%" height="416"
> border="0" usemap="#Map" />
>
>   <map name="Map" id="Map">
>
>     <area shape="rect" coords="118,107,202,196" href="#screen2"
> target="_parent" />
>
>   </map>
>
>
>    <a href="#screen3">Go to Screen #3</a>
>
>   </div>
>
>   <div id="screen2" title="Screen 2">
>      <a href="#screen3">Go to screen #3</a>
>   </div>
>
>   <div id="screen3" title="Screen 3" class="panel">
>      Hello World
>      <a href="#screen2">go to screen 4</a>
>
>   </div>
>
> </body>
> </html>
>
> On Dec 7, 11:12 am, Giacomo Balli <[email protected]> wrote:
>> which framework are you referring to?
>> are there any errors in webInspector?
>> some code would help...
>>
>> On Dec 7, 12:21 am, Nathan Jeynes <[email protected]> wrote:
>>
>>
>>
>>
>>
>>
>>
>> > Hi i have been using your framework and have recently come across an
>> > issue which i cant seem o find a solution for, i was trying to link a
>> > image hotspot which resides on Screen 1, to Screen 2, using the
>> > #screen2 as the link.  However this does not work, i can use standard
>> > text links to do this but the hotspot does not seem to work.  Any
>> > suggestions? my app is graphic based and i would like to be able to
>> > accomplish this,
>>
>> > Thanks in advance
>>
>> > Nathan
>
> --
> You received this message because you are subscribed to the Google Groups 
> "iPhoneWebDev" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/iphonewebdev?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/iphonewebdev?hl=en.

Reply via email to