hi fellows,
i just bought a joomla template from template monster.
there is photo gallery on home page which skips to photos by clicking onto them.
what i need is a self sliding photo gallery you know what i mean automatically skipping photos in preset interval.
http://www.mirelmuhendislik.com/home-tr/index.php
this is the homepage.
i ...
Hello All,
i have read this javascript article, where an exmaple is shown , Please explain why below codes return different output due to changes the place of curly braces {
curly brace { on new line
function test()
{
return
{ /* <----curly brace in new line*/
javascript : "fantastic"
};
}
var r = test();
try {
alert(r.ja...
Hi everybody,
The resizeTo (that allows setting a new height/width value) function works great on Firefox and Internet Explorer and doesn't work at all on Chrome and Opera.
Is there another function that does the same and works on all the browsers?
Thank you,
Regards
...
Possible Duplicate:
Detecting idle time in JavaScript elegantly.
I have a table with some rows that I want to refresh for example every 10 minutes. Is there a way I can do this, but only if the user isn't currently active on that page?
Is there for example anything like an inactivity timer or something in JavaScript?
...
Hi,
I have a div and it has a click event. In the div there is two link are available with separate click event.
My problem is, while I click the two separate links, the div event only firing not the link event. How can I use this all three events separately?
Anyone help?
...
Hi,
I am working on News means i want to include online yahoo news title and description in my page .For that i have to create 1 batch file , but the problem is that what to write inside that .bat file which will call the yahoo online news inside that file then how can i include that file in my page......
PLease Help..
Thanks
...
Hello,
I have a div that, when the mouse over event occurs should fire some javascript to change the class of a div floating over it to visible. The code works fine in IE (8) but not firefox, chrome or safari. I've attached a demo sample below:
<div class="videoImagePlaceHolder">
<div class="vi...
How to auto-hide page's header and footer, and show it by moving the mouse cursor's over one of them.
...
I am developing a tool which will convert html colors between maximum any format like RGB, RGBA, HEX, HSLA, NAMED etc.
And also HEX(#FFFFFF) to Alpha HEX (#00FFFFFF) for use in filters in IE6.
But, my problem is that I am unable to convert the alpha value i.e. 00 from Alpha hex color to rgba alpha value i.e. 0.5.
please help me...
...
How to pass a ObjectiveC string Variable to a javascript function? I have just started with javascript.. so plz 4give my ignorance...
...
Hey,
I am using the HTML5 Geolocation API to find the longitude and the latitude from the users of my site. This works, but now I would like te show on the screen "You cuurently are in ...". So I need to convert these coordinates I get from the Geolocation API to a place name.
I tried a bit with Google Maps API, but I Didn't get it wor...
in my javascript, i have an Array of Calendar objects.
Each Calendar objects has an array of CalendarEvent objects
Each CalendarEvent object has a property Date, Name.
i want to check, give a date, it its exists in a specific Calendar.
I wanted to see if i could use jquery.InArray() but it seems like i have to loop through every Cal...
Hi,
with ActiveX I can create an Outlook instance and start a new HTML e-Mail.
Here is the sample code:
var outlookApp = new ActiveXObject("Outlook.Application");
var nameSpace = outlookApp.getNameSpace("MAPI");
mailFolder = nameSpace.getDefaultFolder(6);
mailItem = mailFolder.Items.add('IPM.Note.FormA');
mailI...
Im placing no script tag on my master page that if a user dont have javascript enabled or its browsers doesnt support javascript it redirect to a specific view. im using this code
<noscript>
<% Response.Redirect("../UserLogin/Error"); %>
</noscript>
but the problem is its redirecting me everytime i open the page although my j...
Hello,
I have a form which among others contains text inputs that contain arithmetic data (prices)
The elements and their names are dynamically generated. I would like to only "find" fields that contain arithmetic values based on their names (i.e. an example element name would be price_500_365 (from price_PRODUCTID_ORDERID). So I want ...
var types = {
"Grocery": "gro",
"Restaurant": "res",
"Bar": "bar",
"Pizza Delivery": "piz",
"Quick Service": "qui",
"Retail": "ret",
"Salon": "sal"
}
$(".type_changer").attr("id", types[$(this).text()]);
I understand that the class type_changer id is being changed to the part of this array but I don't understand types[$(...
In C# i have an array of Calendar objects
each Calendar object has an array of CalendarEvent objects
each CalendarEvent object has a Date and Name property
i want to convert this to Json object but i want to change the data structure a bit so in the json object a calendar is an array of dates and an array of names (breakdown the Calen...
I've had a look at the markup it creates, namely a bunch of images for the atoms, and a big background image, which is used rather strangely to create the bonds.
There are some things that I can't work out:
Where the javascript is
What makes the bonds at the rear narrower
Why the atoms also have the bond background applied
...
I came a across a really sharp intro effect I'd like to try and create in jQuery, mootools or prototype: http://www.johndigweed.com/ (Just the spin in effect) So in a sense, I want to spin in the main content div of the page.
Any suggestions to get started or are there base plug-ins that have help achieve this intro effect outside of fl...
I use $.ajax() to get some HTML pages from my server.
The retrun contains the full HTML result. But i am only interested in a very specific div inside this document.
The only given thing is that my ajax success function returns a JSON object. I have made a PHP proxy file i use for other stuff that returns me a JSON object with the head...