<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Pre-Selecting Tabbed Menu Items on PHP Page - Web Development				            </title>
            <link>https://www.tweaking4all.com/forum/web-development/pre-selecting-tabbed-menu-items-on-php-page/</link>
            <description>Tweaking4All.com Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Thu, 12 Nov 2026 13:18:58 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Pre-Selecting Tabbed Menu Items on PHP Page</title>
                        <link>https://www.tweaking4all.com/forum/web-development/pre-selecting-tabbed-menu-items-on-php-page/#post-4782</link>
                        <pubDate>Thu, 09 Mar 2023 18:06:02 +0000</pubDate>
                        <description><![CDATA[So, if I understand you correctly: You have a page a tab menu, something like the screenshot below;

Now you want to be able to send a link to a user, which right away opens a specific tab...]]></description>
                        <content:encoded><![CDATA[<p>So, if I understand you correctly: You have a page a tab menu, something like the screenshot below;</p>
411
<p>Now you want to be able to send a link to a user, which right away opens a specific tab, say the "FAQ" page.</p>
<p>In that case, PHP is most certainly possible, but probably not your best choice.<br />Note: I'd probably walk away from a vendor that cannot handle PHP - kind-a basic knowledge if you ask me.</p>
<p>If you decide to do this in PHP, then you could use GET or POST (FORMs) to set the CSS style accordingly - if this is the same PHP file or engine that is generating the page.<br />So the PHP file (or Engine like WordPress, Joomla, etc) that generates this HTML document, will have to set the CSS properly before the user gets the HTM page.</p>
<p>However ... probably a better option is using<strong> JavaScript.</strong></p>
<p>You can use the FORM GET approach, for example a link https://studiotoolkit.dmplocal.com/sites/4054/tabsforhelp.html?activetab=faqTab<br />Of course no you need to catch the incoming GET value "activetab" and set "faqTab" to active tab with the function you already have:</p>
<pre contenteditable="false">openTab(event, 'faqTab');</pre>]]></content:encoded>
						                            <category domain="https://www.tweaking4all.com/forum/web-development/">Web Development</category>                        <dc:creator>Hans</dc:creator>
                        <guid isPermaLink="true">https://www.tweaking4all.com/forum/web-development/pre-selecting-tabbed-menu-items-on-php-page/#post-4782</guid>
                    </item>
				                    <item>
                        <title>Pre-Selecting Tabbed Menu Items on PHP Page</title>
                        <link>https://www.tweaking4all.com/forum/web-development/pre-selecting-tabbed-menu-items-on-php-page/#post-4781</link>
                        <pubDate>Thu, 09 Mar 2023 16:57:06 +0000</pubDate>
                        <description><![CDATA[I’m a UX designer who has to do some web development on a vendor’s platform. The vendor’s system is php and frequently uses iframes to place content, so I spend a lot of time trying to find ...]]></description>
                        <content:encoded><![CDATA[<p>I’m a UX designer who has to do some web development on a vendor’s platform. The vendor’s system is php and frequently uses iframes to place content, so I spend a lot of time trying to find ‘creative’ solutions to pages I have to build myself.</p>
<p>I’m creating a basic css tab menu. I need to be able to link users to this page with specific tabs open for different use cases. Our vendor says they can’t help us with this “because it’s a php page”. I feel like this should be possible, but I don’t have deep dev knowledge.</p>
<p>Stripped down example:<span> </span><a href="https://studiotoolkit.dmplocal.com/sites/4054/tabsforhelp.html" rel="nofollow">https://studiotoolkit.dmplocal.com/sites/4054/tabsforhelp.html</a></p>
<p>I appreciate any suggestions. Thank you!</p>]]></content:encoded>
						                            <category domain="https://www.tweaking4all.com/forum/web-development/">Web Development</category>                        <dc:creator>Anonymous</dc:creator>
                        <guid isPermaLink="true">https://www.tweaking4all.com/forum/web-development/pre-selecting-tabbed-menu-items-on-php-page/#post-4781</guid>
                    </item>
							        </channel>
        </rss>
		