PDA

View Full Version : Spry menu and target window


Mees
11-09-2012, 07:33 AM
I have made a html document in Dreamweaver with a pre-defined layout: 2 column fixed, left sidebar, header and footer and inserted a spry menu in the <div class="sidebar1">. I would like the links to open in the main window <div class="content">, but my links open in new windows. I have tried to put in a target-tag "_self", but it doesn't seem to work. Any ideas how I get my links to show in the right frame?

Part of the code:
<div class="container">
<div class="header"><!-- end .header --></div>
<div class="sidebar1">
<ul id="MenuBar1" class="MenuBarVertical">
<li><a class="MenuBarItemSubmenu" href="#">Item 1</a>
<ul>
<li><a href="#">Item 1.2</a></li>
...
</ul>
<!-- end .sidebar1 --></div>
<div class="content">
...

/Mette

edbr
11-09-2012, 07:49 AM
you are talking about using frames . what you have is normal

Mees
11-09-2012, 09:57 AM
you are talking about using frames . what you have is normal

I fixed it by making an IFrame. Thank you ...