I'm using jquery address for my tabs. It all goes really well but I have a problem with an leading slash (/) in the address in the browser. Clicking one tab (f.e. Home) the diplayed link is .../#Home. Everything looks fine. After the click, the tab is opened, but the browser shows something like this: .../#/Home. Do you see the extra / after the #? I can't image where it comes from.
Here some code:
Tabs:
<div id="tabs"><ul>
<li> <a href="/static/home" title="Home">Home</a></li>
<li><a href="#Vorhersage" title="Vorhersage">Vorhersage</a></li>
<li><a href="/static/klamotten" title="Klamotten">Klamotten</a></li>
I'm looking for a wee bit of regex help as I need to add a slash before any instances of double quotes in a string. I'm using an AJAX in place editor which is cutting off strings at double quotes - the following line is giving me problems when the text being edited has a double quote in it:
Code:
I have this function, but this is for adding slashes to single quotes and my regex ability is so inept i don't know how to amend it for double quotes only.
I am trying to edit one small thing in the javascript below but cannot get it to work correctly
What I am wanting to do is have the time with a 0 before the hour all the time except for 10, 11 or 12 o clock (e.g 09:00) I tried adding the following code it works but only for AM time and not PM time: -
// Pad the Hours with leading zeros, if required currentHours = ( currentHours < 10 ? "0" : "" ) + currentHours; Heres the code: function init ( ) { timeDisplay = document.createTextNode ( "" );
I'm having issues with jquery and the tabs I'm using. My tabs work but... I want some more functions and that seems to be a big problem for a Javascript and jquery newby.
I really don't know if this is correct but it works! What doesn't work is the active class. If you use one of the buttons in the first tab you go to the right tab but the tab itself has no class called active and that ruins the style.
2) I also have one other question: lets say that all the above is my second page and I have my frontpage in which I also have buttons. I want somebody to use the button and end up in the third tab of page 2. My link is something like
Code: page2.html#tab3
I read that using this should lead you the third tab but it's not working for me. You go to the first tab of page 2 instead.
I've been reading a LOT! Jquery for dummies, I googled, read the forum and other forums. I posted on a Dutch forum but no answer. I've added a lot of different code but it doesn't work.
I have nested tabs in jquery tabs which are pretty simple to do if we want static jquery tabsbut what if we want nested tabs that the remote page should decide what would be the tabs.or in other words i want nested tabs in a remote page (or ajaxified) For example i m calling this page(remote page) through tabs
I am using jQuery tabs and when I have very long content within the tabs, my browsers scroll bar reflects the content in the tab with the most content.
Example, "Tab 1" & "Tab 3" has a very long scroll bar, even though it has no content (because of Tab 2) and you can scroll down through the empty space
[URL]
Is there a way I can hide the content in Tab 2 so that my browsers scroll bar displays correctly in relation to the content in the active tab?
i want to add the link address when clicked on the link in web page to the outlook express address book when the outlook window populates. i tried to put
<a href="mailto:enquiry@mydomain.com" > click here </a>
but it only add address to the To section of outlook window, i want it should store the address in the address book.. of outlook express..
I'm having trouble figuring out why content isn't showing up on the 2nd and 3rd tabs of a tabbed content section embedded on a page. The content shows fine for the first tab but not at all for 2 and 3.
Page of tabbed content is [URL].. It's an OsCommerce site using STS Templates for the pages. Here's the code:
I have been looking for a solution for a long time. I have embedded a SWF app in html page using SWFObject. Now I need to give the Flash app the address where it is currently embedded, since the same SWF file is embedded in more than one locations! So the Flash app is supposed to pull the right content according to its current position
I have a very basic web site directory that I'm organizing with tabs. I want the last option to "Show All" containers. I played with it a little but haven't figured it out yet. Here is the code. Can someone point me in the right direction? Note, I'm new to jquery so I'm a little clueless. [code]...
I am using nested jQuery UI Tabs in my application. My problem is that I want to style them all differently. I can't seem to get this to work, as they all seem to use the same CSS classes.
Is there some way to get the tabs to use different classes, or some other way to do this?
So, i have some basic jquery tabs ( http://jqueryui.com/demos/tabs/ ) which are being switched between them using 2 effects: slide up/down and fade in/out:
I need to specify the cookie option after initialization of jQuery UI tabs. Though the cookie appears to be set, the tabs script is ignoring it completely.If I set the cookie option at initialization, then everything works as expected.
I am having an issue with jQuery UI tabs. I'm using the append() function to add a new tab to the list inline (with a click of a button), plus the associated hidden div container. I make sure the new inline tab and div contain all the required jquery classes to funcion.
If I select the tabs and click to view source, all looks just perfect, if I copy the source code into a new html document and run it in the browser, it works well, however the new inline tab doesn't work when clicked in the original document. Is there something I am missing here, anyone familiar with jQuery around to tell why jQuery ignores the extra tab, please?
I'm fairly new to jQuery. I'm currently using the jCarousel plug in to display multiple addresses for a company and it works great, up until I add a new address for the company a new <li> in the <ul> list. Then my jCarousel stops working.I understand the answer is to use the new delegate method but I haven't been able to find the right way to use it.[code]How do I modify this code so that I can use delegate?
I am trying to get an accordian script to work within tabs, here is the code I just can't get it to work, I realise the issue of the inactive tab displaying none which causes problems, I have tried a few work arounds but still not working [code]...
Does anyone know if it is possible to control UI tabs from an external URL, is this possible?
For example, right now, the ui-tabs-nav list of anchors correspond to the divs automatically. I would like to make the tabs' navigation controllable from a separate draggable modal or popup window so I can drag it to a second monitor and use the main screen on GoToMeeting, to switch tab panels almost like Powerpoint (but more useful.) In advance I want to preempt suggestions that I do something different entirely, like simply make the browser window span two monitors, etc. Easy idea but doesn't work; I've tried it.
I'm building single page website with horizontal scrolling script and I want to add tabs (loading external html) to one section. I've managed to place them into a div inside this section but problem is that every time I click on any tab it scrolls horizontally to home page and returns back directly to that tab and not top of the section/page
I am using jQuery Tabs to make an ajax call for each tab when clicked. The ajax that displays is like inettuts. 3 or 4 columns of widgets that can be dragged and dropped. The problem that I am having, when I put the html of the result directly in the main page, it works as designed. When I click on a tab, it displays the page, but all the jquery functions in that ajax page are gone and I cannot sort, drag and drop anything. I suspect that the ajax page is not reading the javascripts in the head, which are on main page. Unfortunately I can't remove them to include them in ajax pages dynamically because I am also using them for other functions in main page. Is there a way to make those ajax pages read the javascripts on that main page?
I have a form with the same structure being loaded in 3 tabs. Now during validation, I will have issues with the IDs of the form fields. Now is it possible to disable the forms in tab 1 and tab 3 when tab 2 is clicked.
I have 6 tabs. Each one of them contain many elements with class 'column' I'd like to know, when a tab is selected, how many such elements in that selected tab. no matter how I tried, it gives me the right count on the first one selected and start incrementing them for all subsequent selected. $('#columns > .column').length;