dhtml

HTML\JavaScript - News Scroller - Sliding Text Effect

how can i make this.... goto this link and see the text sliding after regular intervals well i want to learn to make this so that i could make this ... it is supposed to be a dynamic news scroller.... but to make this i know i will have to learn the thingy on the link that i gave you... then the next steps are going to take me to dyn...

How can I perform mathematical operation like cos and sin in Javascript or jQuery?

I have a searchlocationNear function for which i pass geocoded data i need to calculate distance based on lattitude and longitude values but during the alert functions of distance it displays undefined is their any problem with my code. function searchLocationsNear(center) { var radius = document.getElementById('radiusSelect').valu...

How to return xml data to jquery ajax call from webservice

This is my ajax call to webservice -JsonWebService.asmx file $.ajax({ type: "POST", async: false, url: "/blkseek2/JsonWebService.asmx/GetList", data: keyword2, contentType: "application/xml; charset=utf-8", success: ...

Problem with passing xml data to webservice and return the xml file as result back from ajax -jquery call in clientside

I have jquery ajax call to webservice for which i am passing xml parameters as data ,when i run the code the flow is not reaching webservice GetList method at all, can anyone track what may be the problem should i make any changes to my webconfig file or refer any latest jquery file to get the code running sucessfully $.ajax({ ...

How to delete the xmldocument saved in particular place

I have the following code where i save the xml file into this particular location shown below public bool GetList(string keyword1, string streetname, string lat, string lng, string radius) { XmlDocument xmlDoc= CreateXML( keyword1,streetname,lat,lng,radius); xmlDoc.Save(@"C:\Documents and Settings\Vijay.EKO-03\Desktop\blockse...

scroll bar with animated text with in the scroll bar column.

hi I need a scroll bar with animated text with in the scroll bar column. I will explain this I have created a custom scroll bar. We can scroll the bar and view the content. My problem is that I need to move the content from bottom to the top with in that scroll bar content section. Like marquee. So I have implemented the marquee and pl...

FBJS...OnClick not being passed. DHTML/setInnerXHtml problem

Hi, thanks so much in advance...here is the problem... I am trying to add dynamic HTML element (EX. [delete]),everytime on a event call using FBJS.I am able to append the element using following code. var oldFriendHtml = document.getElementById('friend_container'); var numi = document.getElementById('theValue'); var num = (document.g...

Regexp: How can I find form fields named with specific character sequence in a form using javascript?

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 ...

problem with the css overflow: hidden property

Hi everyone! I'm having a problem with displaying a popup that's rendered within the html and then just toggled to show and hide it. My problem is that this popup sits in a div that has an overflow: hidden property and it means that some of the popup background graphics cross over the width of the overflow: hidden div. this causes a di...

using jquery how to use fadein, delay and then fadeout issue

hi, I need to make something fadeIn, then stay there for a second and then fadeOut using JQuery. I've tried this but it dosent work for some reason??? $('#' + uMessage).fadeIn("fast").fadeOut("slow"); // works $('#' + uMessage).fadeIn("fast").delay(1000).fadeOut("slow"); // fails any suggestions where im going wrong? Many thanks!!...

How can I test DHTML with Selenium RC?

I'm having problems testing parts of my html pages with Selenium RC. If an element is present in the page and is visible when the page is loaded then there is no problem, Selenium RC can access it and can get its value or write into it (if it's a input), etc. But if the element is not visible and it is only made visible using javascript...

calling a function in jquery issue

hi, I am trying to call my function loadPopup() although failing using JQuery v1.3.2. any suggestions? many thanks, $(this).find("a").each(function(i) { if ($(this).hasClass("selected") == false) { $(this).css("background-color", "#efefef"); alert(1); loadPopup(); alert(2); ...

Drag and drop element covered by other element? [JS/HTML/CSS]

I have a little HTML div area set up which reacts to ontouch events (for Safari mobile on iPad) and I want to show the touched location by putting another smaller "bullseye" div element above it. However, I don't want the bullseye div element to catch the drag and drop and avoid it being passed on to the actual touchable area. How would ...

mouse over popup menu

Creating a website using simple html(not html5) and css but got stock in mouseover effect. Need to show some text with background image when user mouseover a link. Following is an example.. NORMAL: OVER: I don't think it is possible to create the effect with simple CSS. My question is what is the most effective way to create the ove...

replace content of div without changing size or scrolling

Hi all, I'm trying to write some code which replaces old content with a placeholder while new content is loaded (via ajax). <div id="target"> ... </div> During the ajax request-response cycle, i'd like to replace the content of the target div with a 'loading' message or image. So far, this is simple ... However in some cases the ta...

DHTML, iFrame and IE

I've got a piece of JavaScript that inserts/removes an iframe from the DOM. Everything is dandy in Chrome and FireFox but the iframe is not displayed in IE. The code below is the creation and insertion. When inspecting with a Developer tools I can see that the iframe is part of the DOM exactly as I expected it to be. Any suggestion on wh...

How to store dyanamic value into jquery cookie variable

How can we store dynamic variables into cookie . var username = ($("#username").val()); how to store the variable username into jquery cookie variable $.cookie('username', '+username +'); alert($.cookie('username')); ...

Pure JavaScript-based clients

I would like to know, how powerful/viable are JavaScript only clients based on say, GWT/gxt/vaadin, when compared to DHTML clients such as those made with wicket, tapestry, click etc? My boss has insisted on using GXT (due to its nice colors and theme) on a project that will most likely become very big with lots of screens. I am against...

style.display and href value = #.

Hi, I have the following problem. I have a page that adds iFrames dynamically using jQuery. Inside of the content of some iFrames there are hyperlinks like: <a href="#" onclick="hideTestDiv();"> the function hideTestDiv does: ... document.getElementById('test').style.display = 'none'; .. in IEs browsers, this causes the ma...

Dynamic javascript select dropdown

This was interesting. In a select dropdown, trying not to use jQuery (with the exception of easing some of my pain on recreation), I ran into an issue that doesn't properly let any current browsers catch the proper selected option. Here is my code, for the page that recreates the issue (remember, no jQuery to necessarily solve issue, b...