Allow A User Of A Website To Add A Poll To The Website
Apr 27, 2010Suppose I want to allow a user of a website to add a poll to the website for everyone to see/vote on. How exactly would I write a script for that?
View 8 RepliesSuppose I want to allow a user of a website to add a poll to the website for everyone to see/vote on. How exactly would I write a script for that?
View 8 RepliesThe javascripts files in my website are constantly getting injected with malicious codes which redirects my website
View 2 Replies View RelatedI'm trying to code a feature for my website using DHTML where the person viewing the website can rotate between viewing the positive/negative points of the website being reviewed. This example was in the publication called Using HTML 4 by Lee Anne Phillips. Code:
View 5 Replies View RelatedI have a ajax program on a page on website A. And I need to let it talk to a program on website B. I tried to put website B into the url of the parameter but it doesn't work.It gives me a "[objet XMLHttpRequest]" error.here is the code on website A:
[Code]...
You know how the get time functions pulls info from the users computer? Is there a way i can get that same information from a web site or a clock on the the same web site?
View 1 Replies View RelatedIm needing a script that when a user clicks the "X" (closing the browser) or abandons my site a new small pop up window will appear..
The new small pop up window will ask "Why are you abandoning my site? Did you have any questions .. please let us know.." and then the user has the option to answer it or not.... then submit message or totally close the new window and main window..
I know the "window.closed" is the key but I dont know how to use it .. I checked on the internet but no information nor samples of it...
I think it's impossible to know if visitor has bookmarked your website, but if someone has any ideas how to check this,
View 5 Replies View RelatedI have been asked by a client if it is possible to have an image appear when a user tries a screengrab on images on his website.
View 1 Replies View Relatedhow to check if a user didn't leave the site.Ofcourse you can use the Onunload() or Beforeunonload() function.But some browsers like Opera and Safari and who know what other browsers don't support it. And I don't want to have false information about users still being there while they left.Is there any other alternative? Like expecting server side each X seconds a AJAX request from the user?If the user doesn't send a request, the user has left.
View 2 Replies View RelatedI want to change a db record when the user leave the website. I have this PHP script:
<?php
require_once("../config.inc.php");
if (isset($_POST["user"]) && isset($_POST["ip_address"])){
$query = 'UPDATE users SET logged = 0 WHEREuser= "' . $_POST["user"] . '" AND ip_address = "' . $_POST["ip_address"] . '" AND confirmed = 1;';
mysql_query($query, DB_LINK);
}
?>
And this jQuery script:
// script da includere in tutti i file delle pagine per l'utente loggato
// cambia lo stato dell'utente da loggato a non-loggato quando viene chiusa la finestra del browser
$(window).unload(function(){
$.ajax(AJAX_PATH + "logout.php", {type: "POST", data: "user=" + escape(USER) + "&ip_address=" + escape(IP_ADDRESS), success: function(){alert("Arrivederci!"); return true;}});
});
but it doesn't seem to work.
I have a webpage and i want to put a section of another website on to my own website..
The Section i want to put on my website is on this page www.bebo.com/thegaadiscos and i only want to put the section with the comments on it...
What i want is a bit like the face book section of this website [URL]
I am looking for the script to resize my website pages according to user's screen size. The size of the table in the template is 1008 * 576 pixels and users with small screen are not able to see the whole page, they have to scroll horizontally. Is there anything possible without modifying my current template?
View 2 Replies View RelatedI'm new to javascript and I have a button in an interface for an app. It's like drag and drop and i want this button to link you to a certain website searching for what the user types in the searchField1 box. The button is button16. Such as you type dogs into the text box and you click the google button among other search engines and it will redirect you to a google search doing a search for dogs. But how do I make this button search google and search for whats in searchField1. I would really appreciate the help. Im looking everywhere to learn this but just cant find it. If you could tell me how or send me a link to a tutorial code...
View 2 Replies View RelatedImagine a wife has signed on to a web site in a browser tab. She does not sign off and walks away to do something else. Her husband sits at the computer and seeing her signed on, opens a new tab and tries to sign on to the same site. I need to automatically sign the wife off when this happens so as to avoid confusion later regarding which session is active.
View 10 Replies View Relatedwe use <link rel="Shortcut Icon" href="favicon.ico"to define the
website icon.
But I view the source of apple.com and yahoo.com, I find there is no this tag but they can show the icon very well. What is this technique?
Are there any GREAT javascript websites out there?? or an Official
site??
I'm looking for an MSDN / PHP / JAVA style-site with examples and (for
gods sake) FREE samples of Tabbed Menus.
I am crewating a website using HTML and Javascript. The website can be
seen by everybody that has internet. Do I have to consider that some
people don't have javascript enabled in their browsers?? I mean If
someone has disabled javascript they wont see some part of the
website.
i am developing a site where should remain the option of adding this site adding as homepage of user. but i did not do anything like this in previous.
View 3 Replies View Relatedway to get all the links in a web page using javascript?
View 1 Replies View RelatedI have a website and i want to have a counter. how i do that? I mean a counter count all who go in my wedsite.
View 2 Replies View RelatedI want a script to login to website without even typing the username and password while logging in.Its very annoying when you have to type the passwords to to login to multiple sites each time and open those sites one by one instead I could have somthing like a click on a file and all the websites open(no need to login)/OR a click on the bookmark and all the websites open(no need to login).
I know a bit of HTML/javascript(as well as windows shell scripting,C++,unix shell scripting). provide some working example in any one of these two languages if possible and how to use it.(I don't know ajax at all so please avoid ajax unless it becomes impossible to do without it).
EDIT:Any other language is also welcome but I would need the instructions to use your programme
Run exe file from website I used javascript code to open a application from a webpage link., its opening in my local PC but its not working in Apache server. I need to add this code to my intranet page. I want to put this script to my Intranet web page, I want to run notepad when i click the Link.
Here is the code:
Can someone point me in the direction of a site which gives you a free script for have a bookmark link on your website.
View 2 Replies View RelatedI'm trying to set up my website for both Firefox and IE. I want to be able to change some CSS values if the user is using IE. I have a list of images that when the user hovers over them the place name appears. In Firefox the name is correctly displayed in the middle of the images. In IE it is off to the side. The CSS for this is code...
View 2 Replies View RelatedI was wondering how to get a form to request name and comment and then post them on a page. I know how to get it to post to a mysql database and then have the displaying page pull the data and post it in a table, but I'm not sure if this is the correct/best way to do it. Do most people use AJAX or something else, or just do the mysql thing?
View 2 Replies View RelatedI am building a website and on my homepage there is a small section where I want recent blogs to be posted. Of course I want a page for blogging also. how to do this?
View 5 Replies View Related