Closed (fixed)
Project:
Highslide
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
16 Oct 2009 at 16:50 UTC
Updated:
18 Nov 2009 at 17:00 UTC
Hello,
Thank you very much for this great module. It works very well with imagecache presets.
(How) is it possible to open pages/nodes/extern links (i.e. www.mysite.com) in highslide? I tried to open a link with the default class="highslide" but it always ends up with the preloader.
In my case I've created a view with all registered site users and would like to provide a link to the user contact form that should open in the highslide viewer.
The same question belongs to the user login form. I see a redirection rule on the highslide settings page but see no possibility to open the link in the highslide viewer.
Every help is much appreciated.
Kind regards,
Stefan
Comments
Comment #1
ilw commentedsubscribe.
Comment #2
q0rban commentedWhoops, I responded to this back when the original posting was on here, and I guess it never went through. Sorry about that!
If I'm remembering correctly, the class you want to use on your anchor is 'highslide-ajax' or 'highslide-ajax-wide'. Using a fragment id works as well:
Comment #3
q0rban commentedActually, I just realized, there is a good example of this in the README.txt
Comment #4
design.er commentedThank you for the hint. Unfortunately it loads the whole page inside the modal window.
Is it possible to load the node body or a specific div-ID (i.e. #content)?
Thank you for your help.
Comment #5
q0rban commentedYeah, sorry if I was unclear, that's what I meant by the fragment identifier. Make the href be 'node/27#content' or something like that.
Comment #6
design.er commentedYeaaah, it rocks! :) Thank you very much.
I wonder if there is a way to include ajax functionality like on the demo page (www.highslide.com) for "Iframe with form" or "Dynamic AJAX content".
Sorry bugging you but if this is already possible I would be really happy. :)
Comment #7
q0rban commentedThis is completely untested, but if you added a js file to your theme with this in it:
And then added a link like this:
<a href="http://google.com" class="highslide-iframe-link">The link</a>I think it would work. But like I said.. completely untested!
EDIT: I forgot to wrap the anchor in
<code>tags. Whoops!Comment #8
design.er commentedNice, the ajax processing works fine! :) The only problem is that the whole page is loaded in the modal window -> the #content anchor in the link (user/contact#content) is going to be ignored. If there is a way to manage this It would be perfect.
Thank you so much for your help. :)
Comment #9
q0rban commentedMarked #623348: HTML Content & AJAX as a duplicate of this issue.