?

Log in

No account? Create an account
 

'up' link target wrong

About  

Previous Entry 'up' link target wrong Feb. 11th, 2005 @ 12:39 pm Next Entry
It appears that whenever I view a photo and then click the link to go up a level (to the photo’s folder), the directory’s full page loads in a child frame, not the entire window (sorry if this doesn’t make sense...I’m rather incoherent today).
Leave a comment
[User Picture Icon]
From:ryoken3d
Date:February 11th, 2005 07:53 pm (UTC)
(Link)
I can't say I fully understand what you ment, but I took a quick look at your scrapbook, and for me, anyway, it seems to be working the way I understand it is susposed to.. The same way mine works, which is basically the same style.. Unless you mean getting to the image view after uploading or something..
[User Picture Icon]
From:kunzite1
Date:February 11th, 2005 07:55 pm (UTC)

(Link)
i have an example that might show it better.
i have a gallery called s2 test in which i have a gallery for each standard fb layout, as well as some custom and lj ones that i've put together.

one of the fb layouts represented is vestibule which is the one that you are using.
if you click the up link, it loads the parent gallery in the inner frame.

vestibule seems to assume that the parent gallery is also vestibule.
the code for it seems to be a bit tedious in order to get all the frames to work correctly.
[User Picture Icon]
From:ryoken3d
Date:February 11th, 2005 08:04 pm (UTC)
(Link)
That I understand :)


There's some Javascript, or something else ( I know I had it, many moons ago ), that when you load a page, it would check to see if it's inside a frame, and if it is, it would refresh, droping the frame..

I get sites with that code a fair bit doing google image searches..

Maybe something like that would solve the problem, just add the piece of code to all galleries or pages that shouldn't be inside a frame.. ( It becomes a lot of fun when you use more than one framed gallery ;) so it would need to apply to them also.. )
[User Picture Icon]
From:kunzite1
Date:February 11th, 2005 08:10 pm (UTC)

(Link)
unfortunately, we can't add javascript to the layouts. i think.
i know the lj s2 cleaner pulls out javascript. i haven't tested the fb s2 cleaner. tho, i think they woulda updated it.

anyway... framed also uses frames. but in a different way i think.

*looks at it* ... yeah... way less complicated than vestibule.
[User Picture Icon]
From:ryoken3d
Date:February 11th, 2005 08:18 pm (UTC)
(Link)
I was thinking more along the lines of something the staff should add to the base code for the styles, rather than a per-user basis..

Then again, if people wanted to put it into their sites, it might be undesirable..
[User Picture Icon]
From:kunzite1
Date:February 11th, 2005 08:26 pm (UTC)

(Link)
yep. theyd have to add it to the layout layer.

the component layout includes some javascript to deal with the "interactive mini-calendar" thingy.
and reply pages have javascript to deal with posting comments.

if you are interested in tweaking your fb layout, i have posted some code in fblayers (the fb counterpart to s2layers) that will assist in adding links back to the different views of your lj from your pics.lj account.
</shameless_plug>
(Leave a comment)
Top of Page Powered by LiveJournal.com