close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Menu link - reload plugin only

Thread began 3/08/2011 10:20 am by jshafor | Last modified 3/10/2011 9:25 am by Jason Byrnes | 1318 views | 3 replies |

jshafor

Menu link - reload plugin only

Good morning gentlemen,

I can't seem to make a function of Framework Builder work properly.

I have a page made up of plugins: the header; left column (menu); content; footer. The left column plugin (menu) is a spry accordion widget with other links that make up menu. The accordion default is set to load with all panels closed - and it all works fine (almost)! When I click on a specific link, it loads the category results in the content area like it should.

Since I didn't know a better (or other) way, I got the menu links (a href=) by running the search form, copying the "resulted" url:

(../index.php?S_ItemCat=6&Search.x=68&Search.y=6&Search=Search&page=itemsResults),

I changing the S_ItemCat=23 for the category I wanted to display. Again, that all works fine, however, as a consequence, when I click on the next menu item - it reloads the whole page - and you guessed it, the accordion goes back to it's default setting - which is all panels closed.

Therefore, I can't open the "Decor" panel, and click the "Auto" category, then click the "Office" category (and so on) without the page reloading and closing the "Decor" panel.

I'm stumped about how to reload the content area only - without loading the menu (left column plugin). I know it's because the ../index.php is included in the URL - but I can't seem to get anything else to work. . . please help. Thanks in advance!!


Here is the left column plugin code (obviously all the links aren't connected).

I included the index.php, leftColNav_inc.php, search.php, and results.php in the zip.

<a href="#">Apparel</a><br />
Cosmetics<br />
<div id="Accordion1" class="Accordion" tabindex="0">
<div class="AccordionPanel">
<div class="AccordionPanelTab">D&eacute;cor</div>
<div class="AccordionPanelContent">
<span class="menuItem"><a href="/Login/index.php">Auto</a></span><br />
<span class="menuItem">Home</span><br />
<span class="menuItem">Office</span>
</div>
</div>
Edibles<br />
<a href="../index.php?S_ItemCat=23&Search.x=68&Search.y=6&Search=Search&page=itemsResults">Fashion Accessories</a><br />
<div class="AccordionPanel">
<div class="AccordionPanelTab">Glitter Tattoos</div>
<div class="AccordionPanelContent">
<span class="menuItem">Glitter Tattoo Parties</span><br />
<span class="menuItem2"><a href="./?S_ItemCat=8&Search.x=68&Search.y=6&Search=Search&page=itemsResults">Photo Gallery</a></span><br />
<span class="menuItem2"><a href="../index.php?S_ItemCat=6&Search.x=68&Search.y=6&Search=Search&page=itemsResults">Pricing</a></span><br />
<span class="menuItem2">Request a Party</span><br />
<span class="menuItem">Tattoo Care</span><br />
<span class="menuItem">Testimonials</span><br />
<span class="menuItem2">Submit Testimonial</span><br />
</div>
</div>
Golf<br />
<div class="AccordionPanel">
<div class="AccordionPanelTab">Jewelry</div>
<div class="AccordionPanelContent">
<span class="menuItem">Bracelets</span><br />
<span class="menuItem">Earrigns</span><br />
<span class="menuItem">Necklaces</span><br />
<span class="menuItem">Pins</span><br />
<span class="menuItem">Rings</span>
</div>
</div>
</div>
Men's Collection<br />
Princess Collection<br />
Clearance<br />

Attached Files
WABeSparkHlp.zip
Sign in to reply to this post

Jason ByrnesWebAssist

make the main content area an iframe and give the iframe a name:
<iframe name="myIframe"></iframe>



then add target="myIframe" to your links

Sign in to reply to this post

jshafor

Once again Jason - many thanks! I ultimately had to re-structure the page a bit; but works like a charm . . . I sincerely appreciate your help. And thanks for responding so quickly!!

Sign in to reply to this post

Jason ByrnesWebAssist

Glad to hear it is working.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...