Hi there,
I am currently working on a mod to have a frame open at the side of the page when a story is viewed. This frame will give users the ability to vote and also link back to the site to view other published stories.
I have managed to get a fair amount done but now I need some help.
To show the published stories I call sidebar_stories.php, however when you click on one of the stories it opens it in the frame not in the entire page.
Is there a way to make sidebar_stories open in target_"parent" so it opens in the current window and not just in the frame?
Once I have complete this MOD I will release instructions and files so others can create it themselves. However there are a lot of files to modify to get it to work, so please give me time to complete.
I have attached some screenshots to give you an idea of what it will look like.
The frame1.jpg shows what it looks like (haven't completed the voting yet)
frame2.jpg shows what it looks like after you click on one of the stories under published links
Any help and comments will be greatly appreciated
Cheers
Dan
Linka / Published Links
![]() |
| | LinkBack | Thread Tools | Display Modes |
| ||||
| iFrame with vote and sidebar published stories |
| ||||
|
I have no idea if this would work but it's worth a shot. Code: window.document.base.target="_parent";
__________________ Visit PliggPro the official Pligg Mods & Template Shop! |
| The Following User Says Thank You to chuckroast For This Useful Post: | ||
| ||||
| In which file and where should I put it?
|
| ||||
|
OK so I am nearly there. I am going to release a "how to" shortly. I have not managed to get the voting working as I would have liked to so when the "how to" is released it will not include voting. Please see image below for what it will look like. Before I release it I need to get one thing tidied up..... The close button at the top right of the frame. At the moment it takes you back to the page you came from. Essentially it is just a "back button". It would be better if it actually closed the frame and just showed the page you are looking at with no frame. An example of this can be seen here at upnews.it, They have implemented this frame already and the close button works as it should (they have also done th voting bit but don't seem to want to share). If anyone knows how to do this please let me know so I can get this out for others to use. Also if anyone wants to team up and work on the voting side of things that would be great too.
__________________ Cheers Dan |
| ||||
| I will be watching for this.
|
| |||
|
Not sure if it is this simple or not... But it looks like upnews.it's close button is just a link to the story. So, click the close and it loads the linked story instead of the linked story within a frame. Looking forward to you progress! |
| ||||
| Yeah I saw that, what I can't figure out is how to make the back button link to the main story url (without the frame)
__________________ Cheers Dan |
| |||
|
I guess I'm confused... Where does the back button come into this?
|
![]() |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Sidebar top vote today | clems365 | General Help | 4 | 10-19-2007 02:40 PM |
| Top links sidebar causes Error: Vote Already Cast | formicin | Bug Report | 0 | 06-03-2007 08:30 AM |
| Pligg beta 9.5 [updated] | kbeeveer46 | Current Version | 0 | 04-29-2007 09:58 PM |





Linear Mode

