Jump to content
TNG Community
pipsi

solved // Template 4/Left Menu - Hoverable Dropdown

Recommended Posts

pipsi

I have tried several ways to integrate my extrapgs, a hoverable dropdown in the left menu seemed to be the most space-saving option for me.

on the w3schools page I found the following:
https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_js_dropdown_hover

I have integrated - after some attempts - the hoverable dropdown ("mydropdown") as you can see in the att. index.php, mytngstyle.css and templatestyle.css
(currently no longer in my online version because I still have some problems!).

I myself cannot solve three problems and hope for help!

* the {$text['families']} are not read (my page is multilingual), the links work anyway

* the color codes entered in the Templatestyle  or mytngstyle are not transferred - or only partially?

* unfortunately the extrapgs link doesn't work, no matter how I make the entry for it - last of my attempts:

  <li><a href="/extrapgs/Dočkal - Hauschroniken.php\" class=\"lightlink\">Chronik Ballin Nr.15 und Groß Meseritsch Nr.201</a></li>

https://www.schuster-pippersteiner.at/extrapgs/Dočkal - Hauschroniken.php/ 

instead of

https://www.schuster-pippersteiner.at/genealogie/TNG/extrapgs/Dočkal - Hauschroniken.php
 

 

  these two links work in the hoverable dropdown.... 

  <li><a href="parental_line.php?personID=I2360&tree=SchuPipp\" class=\"lightlink\">Schuster/Blauensteiner</a></li>

  <li><a href="parental_line.php?personID=I1773&tree=SchuPipp\" class=\"lightlink\">Pippersteiner/Dočkal</a></li>

 

THANK you so much in advance!
Ingrid

 

index.txt

templatestyle.txt

mytngstyle.txt

$text.PNG

backgroundcolor.PNG

Share this post


Link to post
Share on other sites
theKiwi

The problem with the links is the \ mark you have after them, before the " - remove that \ and the links should work. You don't need \ before " when you are writing in HTML code - only when you are writing it for PHP to be in an echo statement.

Roger

Share this post


Link to post
Share on other sites
pipsi
vor 19 Stunden schrieb theKiwi:

The problem with the links is the \ mark you have after them, before the " - remove that \ and the links should work. You don't need \ before " when you are writing in HTML code - only when you are writing it for PHP to be in an echo statement.

Roger

@theKiwi

Roger,
I have had the input without "\ 

it's now online - this is what happened to the side:
https://www.schuster-pippersteiner.at/genealogie/TNG/extrapgs/Dočkal - Hauschroniken.php/

 

Ingrid

Share this post


Link to post
Share on other sites
theKiwi
8 hours ago, pipsi said:

@theKiwi

Roger,
I have had the input without "\ 

it's now online - this is what happened to the side:
https://www.schuster-pippersteiner.at/genealogie/TNG/extrapgs/Dočkal - Hauschroniken.php/

It seems to be working on the left side menu now - where is it giving the link with the / at the end of it?

Roger

Share this post


Link to post
Share on other sites
tngrlkrz
24 minutes ago, theKiwi said:

It seems to be working on the left side menu now - where is it giving the link with the / at the end of it?

Roger

Yes if you remove the slash at the end of the URL it works great

Share this post


Link to post
Share on other sites
pipsi
vor 12 Stunden schrieb tngrlkrz:

Yes if you remove the slash at the end of the URL it works great

THANK you so much Roger and Ron - it WORKS 😍

and I solved the "color-problem" too!

only the $text input isn't read - I'll open a new thread!

$text.PNG

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×