I am using this plugin in wordpress
http://www.iwebix.de/front-slider-wordpress-plugin-demo/
As you can see in the demo above, the left and right arrow buttons are the controls for scrolling the thumbnails and the event is onmouseover and onmouseout.
I don't know how to change this to onclick instead so that the thumbnails will scroll...
Can you do file input/output using Javascript without using ActiveX, submitting a form to a server, or other extensions?
The reason I ask is after hearing all about HTML5 I thought I might take the time to find out what all the hype is about but I can't see any way to create regular applications.
An example of what I thought I might be...
Hey,
I have a table where the first td in the trs contains a link. I want this anchor to be triggered (clicked) no matter where i click in the containing tr.
I have read and tried alot of recents post and suggentions on this topic but i can't get this to work. I tried the trigger() and triggerHandle() functions, but it does not trigge...
hi everyone,
In my JavaScript function I do like this in order to redirect parameters to servlet:
var ids1=document.getElementById("projet").value;
document.location.href("http://localhost:8080/Opc_Web_App/ServletAffectation?ids1="+ids1);
and in the servlet I do the following to get Value:
String idprojet= request.getParameter("ids1...
I have a classic ASP application that I've been constantly trying to modularize. Currently, almost all pages are divided in to two pages:
an outer page that contains the layout, header, sidebar, footer
an inner page that contains ASP code
The outer pages use dreamweaver templates so updating layout and replicating changes is easy. Th...
Can't find a simple solution to this, I know it's easy and I've tried a few things but I can't quite get it to work. I'm currently working with a sidescrolling site and I want every time you click an image (contained in an li) it scrolls to the next li. I have jQuery plugin localscroll so it smoothly goes from one to the next, and that's...
Hello,
I have a few questions regarding JavaScript obfuscation on client side.
First question:
What is the best tool or best three tools which ones you could suggest for this operation?
Second question:
How developers should debug such code (in example with firebug) when extreme situation appears in the production if the code is obfu...
Hi All,
I'm switching from v2 to v3 google maps api and got a problem with gMap.getBounds() function.
I need to get the bounds of my map after its initialization.
Here is my javascript code:
var gMap;
$(document).ready(
function() {
var latlng = new google.maps.LatLng(55.755327, 37.622166);
var myOptions = {
...
The title says it all...
...
Let's assume a user enter address of some resource and we need to translate it to:
<a href="valid URI here">human readable form</a>
HTML4 specification refers to RFC 3986 which allows only ASCII alphanumeric characters and dash in host part and all non-ASCII character in other parts should be percent-encoded. That's what I want to pu...
How do I set up a listener in jQuery/javascript to monitor a if a value in the textbox has changed? The value is fed into the textbox by a bar code scanner attached to the tablet,so each time an item is scanned the value in the textbox changes.I need to display some information based on the value in the textbox.
...
Hi all,
I am seeking to (legitimately) plant bugging in my web pages to collect and report information about website performance.
Preference for internally hosted. While I expect that there are commercial offerings out there (e.g. Google Analytics) I'm keen to find something we can run entirely in-house (its not a public website and m...
Okay, have a bit of a tricky one (for me anyway, i'm pretty rubbish at jQuery/JavaScript).
I'm pulling in data using standard AJAX (ie, NOT using a framework like jQuery or whatnot... there is a reason for it)
However, I then need to load up a jQuery script as soon as the page has been loaded in. So, here is the question, how do I bind...
A 'friend' on Facebook suggested I become a fan of some video library to get free DVDs and on their fan page under the 'FREE DVDs' tab it had some code it asked users to copy and paste into the address bar.
I am wondering if anyone knows what this code would do just by looking at it. I guess I need to be logged into Facebook for it to ...
when picture viewed ,when me click on it picture will display as pop up, and back screen will be light black?
...
Hi,
I have followed the Railscast episode 88 to implement a set of dependant drop down menus.
In the students->new view, when the student's year is selected, the javascript figures out which courses are available to that year and offers the selection in a new drop down menu.
My javascript erb file is here:
var courses = new Array();...
How to improve the following if-else structure in JavaScript?
if(isIE())
if(termin != "")
TargetElement.onclick = function() {merkzettelRemove(this, id, termin)};
else
TargetElement.onclick = function() {merkzettelRemove(this, id)};
else
if(termin != "")
TargetElement.setAttribute("onclick...
Hi guys,
I have a htmlDivElement (with no id) - and I'm trying to access and change the style of it..
Problem is everything I try returns 'Undefined' when i try to alert it
Eg:
alert (htmldivelementobject.className)
I've also tried getAttribute but it returns the same thing... Where am I going wrong?
F
full code below
var i=0...
parseInt("7em", 10); returns 7 in all browsers I tested [*]. But can I rely on this?
The reason I ask is, that I want to perform some calculations based on em, like
/* elem1.style.top uses em units */
elem2.style.top = parseInt(elem1.style.top, 10) + 1 + "em";
I could do this with regular expressions, but parseInt is easier to use, a...
Lets suppose I made a class called Person.
var Person = function(fname){this.fname = fname;};
pObj is the object I made from this class.
var pObj = new Person('top');
now I add one property to Person class, say lname.
Person.prototype.lname = "Thomsom";
now pObj.lname gets me "Thomson".
My question is that, when pObj didn't fin...