I am self taught Dreamweaver novice

I have created a popup window, but even though in the code it asks it to open at 600 wide x 400 high, the pop up is opening in a tiny window

It seems to be fine with Firefox, just a problem on IE and I have checked it on two machines

This is the code

<a href="javascript:;" onclick="MM_openBrWindow('/site2008/rubr/forms/activity_popup/cycling.htm','Cycling','scrollbars=yes,resizable=yes,width=600,height=400')">Cycling</a></p>

any clues?

thanks

Member Avatar for langsor

Ahh MM code ... gotta love it.

They wrote the whole function inside the link tag ... almost.
Unless there is more to this window than just opening a page inside a new window with certain attributes associated with it? Try

<a href="javascript:;" onclick="window.open('/site2008/rubr/forms/activity_popup/cycling.htm','Cycling','scrollbars=yes,resizable=yes,width=600,height=400')">Cycling</a>

If that isn't working for you, give us the function referenced by MM_openBrWindow too.

thanks

Thanks, I have it all working!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.