Using Code On A Webpage That Lists The Site Members?
May 6, 2011
I am currently using this code on a webpage that lists the site members.
function toggleMenu(objID) {
if (!document.getElementById) return;
var ob = document.getElementById(objID).style;
[code]....
View 3 Replies
ADVERTISEMENT
Nov 23, 2009
Could anyone know the script code for a WEBPAGE ON TOP OF A WEBPAGE? The site was not working anymore, so I can't tell you the link. This is what I saw, When I visited the site (Mainpage) There's just a Welcome Image that shows CLICK HERE TO ENTER. After clicking the link, a loading faded icon appears on top of Welcome Image covering that Welcome Image with Webpages, it's like popping to the center of the page. I don't know if someone of you could understand me. It's like Page on TOP of another Webpage without leaving the 1st page.
View 1 Replies
View Related
Nov 19, 2010
. I'm having a site A very plain site which has a 2 textboxes and a submit button.
. I give a url (say google.com) in the first text box,
. Now when i click submit button the page(JS) should fetch google.com in the background and show some info(say all links).
Is there any way to get this done
View 1 Replies
View Related
May 18, 2010
I'm try to set up a webpge that will play a live flash video on the left-hand side(got that part working) and display one slide of a presentation(jpg) to the right of the video. I would like to be able to control when the slide image changes by having some js check a text file on my server. The text file could contain something as simple as "Slide1.jpg". I will manipulate the text file with some code I've already written. Is there some simple js code I can put in my page that will cause it to check the text file every 5 seconds, and if the content of the file has changed, to refresh the image on the page with the new image? I'm try to get away from the "clicking" sound that is caused by doing a simple refresh of an Iframe.
View 3 Replies
View Related
Nov 24, 2010
I am trying to get 2 versions of the code below to run simultaneously on the same page (in different div tags), but with different pictures and timer. I can get both to work seperately so I know the code works, but when I put both on the same page only one works.
<script type="text/javascript">
var ultimateshow=new Array()
//ultimateshow[x]=["path to image", "OPTIONAL link for image", "OPTIONAL link target"]
[Code]....
View 7 Replies
View Related
Nov 3, 2010
I was wondering if it is possible to add js logging onto a webpage and have this writing out to a separate file with the details?
I have a page which is only showing the header and not the rest of the page, I want to add loggin code to find out where it is breaking.
how would I go about setting it up?
View 3 Replies
View Related
May 7, 2011
Is it possible to call a procedure in the code behind a web page from jquery/java script? For example, If I have a button that calls a script called Process_Data and a module in the code behind called Save_Data. Can Process_Data call Save_Data?
View 1 Replies
View Related
Nov 14, 2011
Working throu' the Sammy Tutorial with an intent of using a RESTful django server with sammy.[code]Where the console on chrome reports Uncaught ReferenceError: Sammy is not defined and altho' I get to see the template code in the webpage it does not appear to be rendering.All files are visible from the browser including the template code.The error is reported from line 55 [code]which comes after the function declaration.I'm a python/django creature and rarely venture out to the wilds of the client side. Have I made some particularly simple js/jquery/sammy error ?
View 1 Replies
View Related
May 17, 2011
I am using $.post to send an HTTP Post Request to my web page and I receive the generated HTML code within the corresponding callback function. Unfortunately, the browser does not reload the web page automatically to see the changes of the request. For sure, I could use document.window.reloaed() to make them visible, but instead I simply wanna use the returned HTML code to change web page.
I have tried several javascript statements, such as window.childNodes[0].innerHTML = data or window.clear() but nothing works. Then, I saw the option of using $(document).html(data) but this is also not the approriate one.
View 2 Replies
View Related
Feb 5, 2011
I have the following code which *should* change the image I have on my webpage to images based on the time.
function timeDate() {
var t=new Date();
var h = d.getHours();[code]....
I don't know why this won't work. It should compare the hour variable (h) to the hour, and then change the image based on that. However it doesn't do this, and I'm not sure why. I've tried using both = and ==, but neither seem to work. Like I said I am a newbie to this sort of stuff.Also, would there be a way of making the el.src to: "images/timedate/"+[the hour]+".png" without the need of directly comparing the hours? It would be useful if it was possible, as I need to do a minutes one as well
View 9 Replies
View Related
Apr 14, 2009
i want to load web page on div [URL]
Code:
$('#news_modal_container').load(getContents_link);
getContents_link contain site name.
above code work while load local page, but not load server page or site
View 1 Replies
View Related
Jan 6, 2010
I am using this fancy box code to smoothly pop up an image on click, I got it working on my main index page but that's not where I want to put it. My site has a menu where it loads external webpages inside the main index one, I would like to use the code on one of those pages but something is not working.
I have been told its a DOCTYPE issue but I am not able to use the specified DOCTYPE, however I find that it works all the same with my current DOCTYPE choice. If I use the given one in addition to the one I use now (and need) then my site does not work properly, further if I replace it I get the same results.
My existing doctype:
Code:
<DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
[Code]....
I even tried using the exact code from the example in that linked .htm page but it doesn't make a difference, it probably even hinders the code as it looks at the main html page. However loading the page on its own the code will work, so its related to the menu and the way that works.
View 2 Replies
View Related
Oct 22, 2011
Is it possible to create a loop using code to play a song on a webpage? Or does the while statement have to produce numbers like 1, 2, 3? I don't really understand what types of things I am allowed to use when creating a loop.
View 2 Replies
View Related
Jan 3, 2010
I am using this fancy box code to smoothly pop up an image on click, I got it working on my main index page but that's not where I want to put it. My site has a menu where it loads webpages inside the main index one, I would like to use the code on one of those pages but something is not working.I am not able to use the specified DOCTYPE but find that it works all the same with my current one, however if I use the given one in addition to the one I have now (and need) then my site does not work properly, further if I replace it I get the same results.My existing doctype:
Code:
<DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"
"http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd"
[code]....
View 4 Replies
View Related
Apr 20, 2009
I advertise on the internet and they want me to link my webpage to their webpage with an dhtml code...Then they will list my website on their page.. I use geo cities page builder for my webpage.
View 1 Replies
View Related
Aug 7, 2011
I have this piece of javascript code, which enables me to get my Picasa photos without link back feature, in my webpage. The issue is with the hardcoded RSS url feed. I want this to be dynamically passed as a variable to the java script.I use a PHP code, where this javascript is coded.
In the below code, if I say
var samples = <?php $url_code ?>,
the javascript does not recognize.
[code]....
View 2 Replies
View Related
Jun 6, 2009
i want to ask that is it possible that using javascript injection the contents of a web page can be altered (add / edit / deleted) in Line of Code.Since, this has happened with me couple of times,talking to the support team at my hosting provider, they say that its due to the security holes in the Coding, but i think that its the security issue at the hosting side (since modifying the web pages code)i've found this code immediately after the opening of the body tagearlier the page snoofing for the above URL was working, but now its not producing the output. (so can not post whats inside it).My Another website (hosted by the same provider) is also infected. there the code immediately after the body tag is again the page snoofing yeilds no output with the error
View 6 Replies
View Related
Mar 8, 2010
How to build the code snippet that a 3rd party would add to their website page and the corresponding remote script that draws a review badge on a site similar to how tripadvisor does it?
You can see an example here if you scroll down to the bottom: http://www.hotel-grandmajestic.cz/en/about-hotel
Here is the source from that webpage code...
View 9 Replies
View Related
May 14, 2010
What I am trying to do is add a list box to my site that when the user clicks on a certain item and presses submit the correct code gets sent to my cgi cart.
View 3 Replies
View Related
Apr 18, 2006
What're the members of the error class/object? Is there a complete reference to all JavaScript objects available on the Web?
View 6 Replies
View Related
Mar 2, 2011
I'm trying to create an extensible class with private members.
Suppose I have the following:
Code:
Obviously, only "y" should be available to instantiations:
Code:
But how can I now extend this class and still access the private properties inside the extension?
Code:
How do I access x there? The someOtherFunction extension is part of the prototype, so it should be in the same scope as someFunction, no?
View 1 Replies
View Related
Sep 23, 2011
I have an array of divs, and can do a style change on them:
var Ray = new Array("first", "second", "nth");
function bluRay() {
$('#' + Ray.join(',#')).animate({color: '#00f'}, 600);}
( The divs don't share a class, and it'd be code-heavy to add classes for all the necessary variations on this function. )
How to make the operation on the divs sequential, at say, 500ms intervals?
View 2 Replies
View Related
Sep 20, 2006
I've spent several days trying to work this out. Maybe I'm just
searching for the wrong keywords/phrases.
I have some code that looks like:
[-- snippet starts --]
Console = new Object();
Console.init = function() {
this.STDIN = document.getElementById('console0_stdin');
this.STDOUT = document.getElementById('console0_stdout');
// set styles on the element references, eg:
this.STDIN.style.width = ï`%'
this.STDOUT.style.width = ï`%'
}
Console.focus = function() {
this.STDIN.focus();
}
Console.writeln = function(buffer) {
this.STDOUT.value += "
" + buffer;
}
[-- snippet ends --]
I'm not sure why, but the Console.focus() and Console.writeln() methods
just don't seem to be able to use the DOM references stored in
Console.STDIN and Console.STDOUT. Everything's fine in the
constructor, but other methods can't seem to use them.
View 8 Replies
View Related
Jun 17, 2009
I have a form that is done in php I'm converting it to .NET but the java script has an error. I posted all the code but the error is in the "saveOtherSurvivorValues" function i think. What happens is when you click the "add survivor" link to add a the first survivor and then fill out the information for the first survivor then click add survivor a second time for a second survivor it moves the data from the 1st survivor into different fields to produce in accurate data.
Here is a link to the live form.
[URL]
using System;
using System.Collections;
using System.Configuration;
using System.Data;
[Code]....
View 7 Replies
View Related
Jun 17, 2009
I have a form that is done in php I'm converting it to .NET but the java script has an error. I posted all the code but the error is in the "saveOtherSurvivorValues" function i think. What happens is when you click the "add survivor" link to add a the first survivor and then fill out the information for the first survivor then click add survivor a second time for a second survivor it moves the data from the 1st survivor into different fields to produce in accurate data.
using System;
using System.Collections;
using System.Configuration;
[code].....
View 7 Replies
View Related
Sep 3, 2011
I am developing a messaging service between members of my site. I am developing this with asp.net mvc. When a user goes to the SendMessage view to send a message to another member, there is a dropdown list which presents the sender with all the members of the site, which he or she will pick as the recipient. However, i don't want it to be a dropdown, i want it to be a text box, where a user types in the first couple of letters of a name, and the dropdown appears then with only the members which have the same couple of letters. This is basically like every email system out there (facebook and gmail have it just like that). And after they chose one, they can select another one in the same textbox, just separated by a comma or something like that. Basically, how do i achieve that in javascript? I'm not even sure what that functionality is called, that's why i had to explain it properly.
View 3 Replies
View Related