![]() |
Go To Popup in Navigation not showing (vB custom page in poup window)
Hi folks,
hope that someone can point me to the right direction. I have a popup window spawned from within a vB page that loads a custom vB-page. The framework is all there (global.php), and I have used this design many times before. only difference: now I do not show the navbar, perhaps this is the problem. I have database results on that external page, nicely paginated all over. Pagination looks good, and from the look on the html source in my browser it's all there. Only thing missing: The Go to popup. The space for it is there (one can see that there is an empty <td> there, and it's in the code). But already the pointer is missing that one clicks to open the popup. I already pasted Code:
<!-- PAGENAV POPUP --> Any hints? |
No ideas?
|
This is a Go To button in the popup window that isn't there? I don't understand what or where the something isn't working.
You said "The space for it is there (one can see that there is an empty <td> there, and it's in the code)." So, let's see the page source for that and let's see the actual code for that. |
1 Attachment(s)
OK, here we go:
Output-Source: HTML Code:
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px; margin-top: 0;"> PHP-Code: PHP Code:
Screenshot attached. One can see the pagination, at the right corner the space of the empty td is clearly visible. The framework of the page is as follows: PHP Code:
Thanks for your help, it's very much appreciated. |
OK, this is your blank empty td from the source, right?
HTML Code:
<td class="vbmenu_control" title="photo_popup.php?ins=link_thumb_2_orig&alb=549&prod=2&cp=2"><a name="PageNav"></a></td> |
I see - but that code does not originate from me - it's vB's own.
This is what's in my template: HTML Code:
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px; margin-top: 0;"> HTML Code:
<if condition="$show['popups']"><td class="vbmenu_control" title="$address$address2"><a name="PageNav"></a></td></if> HTML Code:
<td class="vbmenu_control" title="forumdisplay.php?f=21&order=desc"><a name="PageNav"></a></td> HTML Code:
/* ***** basic styles for multi-page nav elements */ The script that does pagination seems to be HTML Code:
<script type="text/javascript" src="clientscript/vbulletin_menu.js?v=380"></script> I even am quite sure I have identified the part of code that adds the image, but why it doesn't show up escapes me :( |
bump.
|
I still don't fully understand what the problem is, but..... perhaps you are missing the function that is needed? Have you tried including/requiring some other scripts in your page to see if that fixes the issue?
|
Hm, those javascripts and stylesheets are called:
HTML Code:
<!-- CSS Stylesheet --> |
I'm talking about including/requiring certain scripts in your php code, not the html output.
|
I know - I just thought to give additional input, since the menu requires js, too, doesn't it?
As I wrote: what i'm requiring in the php code I already statet in this post, third code block there. As I said, I'm at a loss what else might even be worth requiring, and would be grateful for suggestions. |
1 Attachment(s)
Is this the little thing you are missing? On this site, the code for it shows up in the footer. Are you using a standard footer template? Is the code for it there in the footer?
Attachment 93477 |
Yes, that's exactly what's missing. And I have this code in my template - that's in the page footer normally, yes.
Quote:
--------------- Added [DATE]1232916426[/DATE] at [TIME]1232916426[/TIME] --------------- P.S.: I you have the time and want to, I'd sent you access data to my forum, so you can have a look. That might be simpler than my humble explaining... |
Well, all I would do is find a page on vb.org that has that popup and then compare the html in that page to the html in your page. Or, in the case of the php part of the page, compare the working to non-working page and you are more capable of doing those comparisons than I since you have all the files.
|
You're perfectly right, and though I did that about 200 times (at least it feels like that...) I always missed that oh so simple snippet of code right at the end:
HTML Code:
<script type="text/javascript"> If anybody should ever be so stupid, too, I thought I share the solution to the mystery :) Thanks for your patience and help - what an emerassement this thread is (for me of course) :o:rolleyes: |
Oh wow. Amazing how a couple of lines can spoil the whole page! All that time spent.... but hey, now ya know!
Glad you got it figured out. |
All times are GMT. The time now is 11:25 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|