how to link from html sand box to page within protoshare

Put your questions here on how to do things in ProtoShare.
prabhu21
Posts: 1
Joined: Thu Apr 15, 2010 12:42 am

how to link from html sand box to page within protoshare

Postby prabhu21 » Thu Apr 15, 2010 12:53 am

How do I link from HTML sndbox to other pages in Protoshare.
I'm using HTML sandbox for one of my JQuery animated Navigation, but I found no option to link from my HTML (using <a href="">) to other pages in my prototype.

Josh Kristof
Posts: 525
Joined: Tue Mar 31, 2009 3:40 pm

Re: how to link from html sand box to page within protoshare

Postby Josh Kristof » Mon Apr 19, 2010 1:23 pm

You can use the following code in your HTML component to link to other pages. Just replace the 1000764 with the pg value of the page you want to link to. This is shown in the address bar when choosing a page in the site map.

Code: Select all

<a href="#" onclick="window.top.site9.StateMgr.set( 'pg', [1000764] );return false;">Page Name</a>

JonB
Posts: 2
Joined: Sun Jul 18, 2010 1:50 pm

Re: how to link from html sand box to page within protoshare

Postby JonB » Mon Jan 09, 2012 9:26 am

It looks like this is the equivalent code for version 6 of Protoshare:

Code: Select all

<a href="#" onclick="window.parent.site9.open( '/wa/page?oid=1012047')">Page Name</a>


Jon

Milesas
Posts: 1
Joined: Wed May 16, 2012 4:04 am
Location: USA
Contact:

Re: how to link from html sand box to page within protoshare

Postby Milesas » Wed May 16, 2012 4:08 am

HI,Thanks for the solution,Great job man, Keep it up


Return to “How Do I...”

Who is online

Users browsing this forum: No registered users and 3 guests

cron