hi i am trying to bond an onclick function of jGrowl but it is not working iit was initially used as the document ready function and i am changing it to use it on click here is the code -
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
<html xmlns="http://www.w3.org/1999/xhtml">
-
<head>
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-
<title>Untitled Document</title>
-
<link rel="stylesheet" href="jquery.jgrowl.css" type="text/css"/>
-
<script type="text/javascript" src="jquery-1.2.6.js"></script>
-
<script type="text/javascript" src="jquery.ui.all.js"></script>
-
<script type="text/javascript" src="jquery.jgrowl.js"></script>
-
<script type="application/javascript">
-
// In case you don't have firebug...
-
if (!window.console || !console.firebug) {
-
var names = ["log", "debug", "info", "warn", "error", "assert", "dir", "dirxml", "group", "groupEnd", "time", "timeEnd", "count", "trace", "profile", "profileEnd"];
-
window.console = {};
-
for (var i = 0; i < names.length; ++i) window.console[names[i]] = function() {};
-
}
-
(function($){
-
$("#maker").click(function(){
-
$('#test1').jGrowl("Another custom container test.", {
-
glue: 'before',
-
speed: 2000,
-
easing: 'easeInOutExpo',
-
animateOpen: {
-
height: "show",
-
width: "show"
-
},
-
animateClose: {
-
height: "hide",
-
width: "show"
-
}
-
});
-
});
-
})(jQuery);
-
</script>
-
</head>
-
-
<body>
-
<a href="javascript:void(0);" onclick="$('#test1').jGrowl('shutdown');">Shutdown jGrowl </a>
-
<div id="test1" class="top-left"></div>
-
<br/><br/><br/><br/>
-
<a href="javascript:void(0);" id="maker">Animate jGrowl</a>
-
</body>
-
</html>
-
-
1 3194
i did it te other way
thanks every 1
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Jonathan |
last post by:
I'm puzzled by Python's behavior when binding local variables which
are introduced within exec() or execfile() statements. First, consider
this simple Python program:
# main.py
def f() :
x = 1...
|
by: Shock |
last post by:
Hello everyone,
I am having a problem with the program below. I have isolated the problem
to the onclick event that is located throughout arrQuestions. The onclick
event refers to a function...
|
by: noone |
last post by:
I like to write my code with optionstrict set to on, except for the late
binding errors I get when there is a reason to change some value in a
control on a postback, like:
Label4.Text =...
|
by: Rea Peleg |
last post by:
Hey everybody
Im trying to use the 'Assemblie binding log viewer' to debug a simple
..NET web application.
This application includes one html page which is trying to bind to an
assembly (myDLL)...
|
by: chrisk |
last post by:
Trying to due current recordset (DSO) binding using an XML Data
Island. The data displays correctly when the page loads. I am
embedding the datasrc and datafld attributes within a TemplateColumn...
| |
by: Paul K |
last post by:
I'm having a problem getting the data binding to work with the repeater control. Here's the code for the code-behind class
private void Page_Load(object sender, System.EventArgs e
if...
|
by: ad |
last post by:
I write a javascript function, it require a string parameter:
<asp:TextBox ID="TextBox1" runat="server"
onclick="MyJavascript('Tiger');"></asp:TextBox>
I want bind a variable to the parameter,...
|
by: Daz |
last post by:
Hi everyone.
Another simple question which should hopefully warrent a simple answer.
I would like a function to be run whenever a variable is updated. I
have tried binding the onchange event...
|
by: Eric |
last post by:
Simple problem - binding Visible property of label to Checked
property of radiobutton on the same form.
How do I do that in VS2005??
Visible="<%# radiob.Checked %>" - DOESN'T WORK
It was so...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
| |
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...
| |