You will recieve your password to this address. Address is not made public.

Your preferred username that is used when logging in.

Forum user: julienbri

Basic information

Registered Sep 4, 2009
Last login Feb 12, 2010
Forum posts 5
Direct URL http://www.flowplayer.org/forum/users/15106

Latest forum posts

Posts:

Registered:

How to delay the loading of expose

Posted: Feb 12, 2010

I have a div on which I use expose.
Here is the simple code:

$("#banner-box").mouseenter(function() { 
            $(this).expose({
            	maskId: 'mask',
                api: true
             }).load(); 
        });

The problem is that for users who go over very quickly over the box in the screen, it's disturbing. I would like the expose to be loaded only after the mouse is hover the box for say 1000ms. Only then, I would like to trigger the expose. So when somebody goes over quickly, nothing happens.
I was unable to find a solution for this...
Can someone help?

Posts:

Registered:

tools conflicts with jquery-ui

Posted: Sep 6, 2009

Hi,

I am using functions from both jquery-ui and tools.
In the header of my pages, I have the following:

	<script type="text/javascript" src="/js/jquery-ui-1.7.2.custom.min.js"></script>
	<script src="http://cdn.jquerytools.org/1.1.0/jquery.tools.min.js"></script>

The problem is that when I keep the header as above, some functions of jquery-ui are not found (i.e. datepicker).
And when I switch both libraries and put tools before query-ui, some functions of tools are not found(i.e. tabs)

Any good practices to fix this?

Posts:

Registered:

» » » » tabs function not working...

Posted: Sep 4, 2009

That was exactly it! Thanks a lot!!!

Posts:

Registered:

» » tabs function not working...

Posted: Sep 4, 2009

Just added 100px height for the divs, but no change...
Here is a live demo:
http://www.muendo.com/users/contactsHome

Posts:

Registered:

tabs function not working...

Posted: Sep 4, 2009

I'm trying to implement the first example of tabs, keeping everything really simple, just like the very first setup of tabs. But the tabs() function doesn't do anything. all 3 tabs stay hidden all the time.

Any idea of what I am doing wrong?
Here's my code:

<head>
	<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js"></script>
	<script src="http://cdn.jquerytools.org/1.1.0/jquery.tools.min.js"></script>
</head>
<body>
<!-- tab styling -->
<link rel="stylesheet" type="text/css" href="http://static.flowplayer.org/tools/css/tabs.css" />

<!-- tab pane styling -->
<style>

/* tab pane styling */
div.panes div {
	display:none;		
	padding:15px 10px;
	border:1px solid #999;
	border-top:0;
	height:100px;
	font-size:14px;
	background-color:#fff;
}

</style>

<!-- the tabs -->
<ul class="tabs">
	<li><a href="#">Tab 1</a></li>
	<li><a href="#">Tab 2</a></li>
	<li><a href="#">Tab 3</a></li>
</ul>

<!-- tab "panes" -->

<div class="panes">
	<div>First tab content. Tab contents are called "panes"</div>
	<div>Second tab content</div>
	<div>Third tab content</div>
</div>

<!-- This JavaScript snippet activates those tabs -->
<script>

// perform JavaScript after the document is scriptable.
$(function() {
	// setup ul.tabs to work as tabs for each div directly under div.panes
	$("ul.tabs").tabs("div.panes > div");
});
</script>

</body>