I've a vf page and a controller for it, already written. My reqmnt is to show the page in left sidebar as homepage component, I did that by calling it through an iframe, till now all working fine. when any page gets loaded, i want the url of the mainpage not of the vf page which i have created.
eg. i want this 'https://na12.salesforce.com/001/o' or 'https://na12.salesforce.com/home/home.jsp' but not the one like '/apex/mypagename'.
How to achieve this ?
code for Iframe
<iframe src="/apex/HomePageComponent?core.apexpages.devmode.url=1" id="showskill" frameborder="0" height="100px" width="180px"> </iframe>
i want to pass a value in the src itself like appending it through some javascript, most likely to be this way,
'/apex/mypage?id='+var,
where Var being a javascript variable
Help sought!
thanks in advance...!