0

hello every one.
i new in this stuff and i have a question.

i put imagemap in my website and i want to use the hotpoints to popup new window.

i add this thing:

<body style="direction: rtl">
    <form id="form1" runat="server">
    <div>
    
        <asp:ImageMap ID="ImageMap1" runat="server" Height="376px" 
            ImageUrl="~/7777.png" Width="559px" EnableTheming="True" 
            onclick="ImageMap1_Click">
            <asp:CircleHotSpot HotSpotMode="Navigate"
                Radius="100" X="350" Y="350" AlternateText="yyyyyyyyyy" 
                NavigateUrl="JavaScript:window.open('http://www.pageresource.com/jscript/jex5.htm','mywindow','width=400,height=200')"/>
        </asp:ImageMap>
    
        <br />
        <br />
    
    </div>
    </form>
</body>

but when i click on the point it open me a new window As it should to do,But he also takes me to the page listed "[object]" Instead he will leave me with a picture page.

any one have any idea what i did wrong?
thank you very much

2
Contributors
1
Reply
2
Views
7 Years
Discussion Span
Last Post by dnanetwork
-1

window.open always opens new window..

it appears to be an Modal Popup

but you can click back to your parent it is possible

in case of ModalPopup you can not touch the parent screen

unless and until you finished with current screen..

http://javascript.about.com/library/blmodal.htm

creating a modalpopup using this artical would be easy

all browser like IE series and Mozilla will work fine

but chrome will give you side effect behaviour.

try and let me know the output

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.