Joomlashack professional and free Joomla templates
About Joomlashack
What is Joomla!
My Account
RSS
Contact
Jobs
Home
Products
Pro Joomla Templates
Free Joomla Templates
Licensing Center
Joomla Books
Extensions and Components
Developer Template Club
Joomla Hosting
Template Tuning Services
Joomla Training
Support
Forum
Showcase
Tutorials
University
Team Blog
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
March 18, 2010, 08:21:14 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Please Read -
How to Get Help!
Participate in the forum and earn
Great Rewards!
52057
Posts in
14862
Topics by
127576
Members
Latest Member:
xcvxcv
Joomlashack Customization Forum
Joomlashack Shack Packs
Joomla for Schools
[SOLVED]Joomla Mainmenu item WITHOUT link?
« previous
next »
Pages:
[
1
]
Author
Topic: [SOLVED]Joomla Mainmenu item WITHOUT link? (Read 14502 times)
leunac
Jr. Member
Offline
Posts: 2
[SOLVED]Joomla Mainmenu item WITHOUT link?
«
on:
February 15, 2008, 04:49:25 PM »
I've successfully installed the drop-down menu at the top of my Education page and all the components of the main-menu are published there. If I click on a tab, a page opens in the website or in a new window depending on my settings. If I leave my mouse on the tab, the drop down menu appears.
http://montreal.jetaa.ca
Now, I'd like to create a tab called "Links" and have the drop down menu, but I don't want the tab itself to lead to a page. I just want the tab and the drop-down that goes with it. In the main-menu "new item, there is no such option.
How can I do it?
Fred
«
Last Edit: July 12, 2008, 07:26:46 PM by m2d^
»
Logged
m2d^
Hero Member
Offline
Posts: 1264
Francis Doody
Re: Main menu item WITHOUT link?
«
Reply #1 on:
February 15, 2008, 07:12:46 PM »
Quote
READ POSTS BELLOW, SOLUTION FOR MENU ITEM NON CLICKABLE.
hello, youve got 2 easy shots, not sure they will work, but u can try:
1
create a new item and making it a separator / placeholder and add the subs to it
2
create a link / url and add # as a link then add the subs
if this doesnt work, there is coding that can do that. i could give a look and see if its simple or not.
regards, good luck with your trys
«
Last Edit: July 12, 2008, 07:28:29 PM by m2d^
»
Logged
[Provide
LINK
if your requesting
HELP
] [
Knowledgebase
][
SEARCH
]
leunac
Jr. Member
Offline
Posts: 2
Re: Main menu item WITHOUT link?
«
Reply #2 on:
February 16, 2008, 02:21:20 PM »
Hi, thanks for your help!
1) When I create the separator/placeholder, there is a lower case text instead of a tab that appears in the top menu. I can link content to it without problem, but esthetically speaking it's not really nice.
2) I've created an URL link with the tab and added the # as link. When I click on the tab, it brings me back to the front page. I guess it's a good solution for now, but that's not what I was looking for.
If you can still point me towards how to remove the link of a tab and just have it there as a section title, I would appreciate that. If not, I'll just have to leave it the way it is and move on.
Thanks again,
Fred
Logged
SunDogsCI
Jr. Member
Offline
Posts: 5
Re: Main menu item WITHOUT link?
«
Reply #3 on:
March 27, 2008, 03:00:18 PM »
Fred:
I am tring to do exactly the same thing, and I see from your site that you just went ahead with the halfways solution you got. Better than nothing...
But what's frustrating me is that the Joomla! Administrator site works
exactly
like you (and I) want: the top menus (Site, Menus, Content etc.) all present drop down menus, but the "top" menus themselves don't link to anything.
There must be an answer! I will let you know if I get anything more than you did.
Nigel
FYI, my post on this is called"No links under main menu items?"
Logged
m2d^
Hero Member
Offline
Posts: 1264
Francis Doody
Re: Main menu item WITHOUT link?
«
Reply #4 on:
March 30, 2008, 07:29:57 PM »
i think its 2day the day i finaly solve this post. and the issue of extend menu dropdown with no linkage...
so, let try this, u wanna have the 1st level of your dropdown menu without any linkage? just a button that they roll over and does nothing else but show the lower menu that should (tested on ie7 & ff) dropdown!
create a new item on joomla backoffice and making it a separator / placeholder then add subitem to it.
education template:
add this to template_css.css file that u will find in /templates/js_education/css/
Quote
span.mainlevel {
float: none;
line-height: 33px;
padding-left:10px;
padding-right:10px;
cursor:pointer;
color:white;
display:block;
font: "Tahoma";
font-size:14px;
}
let me know if this works!
(it may brake anything else on the site template that uses span with <span class="mainlevel">
if u have your left menus on flatlist it will be ok! )
«
Last Edit: May 11, 2008, 05:51:39 PM by m2d^
»
Logged
[Provide
LINK
if your requesting
HELP
] [
Knowledgebase
][
SEARCH
]
m2d^
Hero Member
Offline
Posts: 1264
Francis Doody
Re: Main menu item WITHOUT link?
«
Reply #5 on:
May 11, 2008, 05:51:05 PM »
can someone test this and let me know if it works?..
create a menu item that is a seperator /place holder and add the css..
Logged
[Provide
LINK
if your requesting
HELP
] [
Knowledgebase
][
SEARCH
]
unreal4u
Jr. Member
Offline
Posts: 1
Re: Main menu item WITHOUT link?
«
Reply #6 on:
July 09, 2008, 11:11:34 PM »
sorry for the up... but it works perfectly
The only "but" is that if you associate a style (S1-S2-S3) you must do something like this:
Code:
span.mainlevelS1 {
float: none;
line-height: 33px;
padding-left:10px;
padding-right:10px;
cursor:pointer;
color:white;
display:block;
font: "Tahoma";
font-size:14px;
}
OR
span.mainlevelS2 {
float: none;
line-height: 33px;
padding-left:10px;
padding-right:10px;
cursor:pointer;
color:white;
display:block;
font: "Tahoma";
font-size:14px;
}
etc...
Thanks a lot !! It was just what i was looking for
Greetings
Logged
m2d^
Hero Member
Offline
Posts: 1264
Francis Doody
Re: Main menu item WITHOUT link?
«
Reply #7 on:
July 12, 2008, 07:25:56 PM »
finally, someone confirms it works.
Glad it does the trick. seems like the perfect solution for an joomla direct access to second level
(without javascripting)
css does it all.
regards !
Logged
[Provide
LINK
if your requesting
HELP
] [
Knowledgebase
][
SEARCH
]
japtwo
Jr. Member
Offline
Posts: 1
Re: [SOLVED]Joomla Mainmenu item WITHOUT link?
«
Reply #8 on:
August 29, 2008, 09:21:57 PM »
Follow this
http://www.joomlashack.com/community/index.php?topic=7255.0
and you will find more idea that suit to your menu or extended menu
Logged
m2d^
Hero Member
Offline
Posts: 1264
Francis Doody
Re: [SOLVED]Joomla Mainmenu item WITHOUT link?
«
Reply #9 on:
September 30, 2008, 11:16:44 AM »
yes, but as its said on that topic:
Quote
have used this method for my site and can confirm it works perfectly, even if the user clicks the menu item they just reload the current page they are viewing... clean and simple solution!
even if the user clicks the menu item they just reload the current page they are viewing
with this method-> its not clickable with my method
Logged
[Provide
LINK
if your requesting
HELP
] [
Knowledgebase
][
SEARCH
]
baijianpeng
Jr. Member
Offline
Posts: 1
Re: Main menu item WITHOUT link?
«
Reply #10 on:
June 29, 2009, 10:01:12 PM »
Quote from: m2d^ on February 15, 2008, 07:12:46 PM
hello, youve got 2 easy shots, not sure they will work, but u can try:
1
create a new item and making it a separator / placeholder and add the subs to it
2
create a link / url and add # as a link then add the subs
If you have Artio JoomSEF installed and enabled, both methods will fail.
I prefer the second one since it needs NO CSS tweaks.
Today I had tested the # link trick with sh404SEF on, it worked well.
However, I still think this is not easy enough. Maybe one day the Joomla Core can add a new feature to allow us set up a non-clickable root level menu item easier.
Thanks.
Logged
http://www.joomlagate.com
Chinese Joomla Users' Portal
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
The Shack
-----------------------------
=> Announcements
=> General Discussion
=> JoomlaShack Affiliates
=> Requests, Suggestions & Feedback
=> Site Showcase
===> Aqualine
===> Aqualine Noir
===> Earthblog
===> Element
===> Inspirion
===> Jamba
===> Lightfast
===> Lush
===> Optimus
===> Relevant
===> Simplicity
===> Vintage
===> Weblogic
===> eBusiness
===> Community
===> AppBox
===> Verdant
=> Joomla Help
===> Joomla SEO Help
=> Joomla Component and Module Help
===> Favorite Joomla Extensions / Add-ons
=> The Joomla Book
-----------------------------
Developer Club Forum
-----------------------------
=> Dev Club FAQ
-----------------------------
Commercial Joomlashack Products
-----------------------------
=> How to Get Help With Joomla! & Templates
=> JS Verdant Template
=> JS AppBox
=> JS Community Template
=> JS eBusiness Template
=> JS Inspirion
=> Earthblog Template
=> Relevant Template
=> Weblogic Template
=> Vintage Template
=> Aqualine Reloaded
=> Aqualine Template
=> Lush Template
=> Element Templates
=> Voodoo Template
=> Rubicon Template
=> Lightfast Template
=> JS_Synergy Template
=> Elevation Template
=> JS Simplicity
=> JS Smoothportal
=> JS_Simple Pro
=> JS_Moja Template
-----------------------------
Joomlashack University
-----------------------------
=> Member Showcase
=> Networking and Community Help
-----------------------------
Joomla! Template Builder
-----------------------------
=> Joomla Template Builder
===> MyTemplate Beta1
-----------------------------
Joomlashack Shack Packs
-----------------------------
=> General Shack Pack Help
=> Joomla for Schools
-----------------------------
Free Joomlashack Products
-----------------------------
=> Free Joomla Templates
===> Jamba Joomla Template
===> Industry
===> Education
===> Nova Template
===> Bold 1.5
===> Empire
===> Lunar Eclipse
===> Matrix
===> Natura
===> Royale
===> SIFRstain
===> Vectoria
===> Velvet
===> Optimus Template
=> Free Components & Modules
===> Flash Image Rotator Module 2.5
=====> Flash Image Rotator Module 2.5 - Joomla 1.5
===> Flash JPG Rotator 1.0
===> Flexible Login Module
===> Flexible Login Module Help
===> X-Cart Intellicontact Integration
===> J!Contact
===> Flash JPG Rotator Help
===> Free Graphics
===> EasySSP Module
=> Free Theme Kits
===> RubiCraft
Loading...