html

Redirect default.aspx

I have an ASP.NET project. Currently, it starts on the Default.aspx page. However, I’d like to change this so that it starts on a different page. In VS2008 it is possible to specify the start page, but that doesn’t seem to affect the published product. I’ve tried putting a Response.Redirect in the Page_Load of Default.aspx, but that ...

Concatenate href value and jquery result in href of anchor tag

Hi, Below is my code present in my application : <input id="input" value="Testing" /> <a href="/captures/getTranslation/?TB_iframe=true&amp;modal=true&amp;height=380&amp;width=670&amp;" name="Signup" id="signuplink" title="Post" > Test </a> I am posting some data to one page, i am getting all the attached parameter in my result pag...

Force text instead of HTML

Hi. I'm having the following problem: I have a page where a user inserts text inside a textarea and then I output the contents of that textarea in another page (php). If the user decides to insert, for example input type="text" name="_name" (can't use < and > or the text won't show, which is exactly my problem) then when showing the out...

python server pages : reading text fields

hi , I am very new to PSP(python server pages) and I need some code that can read a textfield in a html file and save it into a file. I want to use multiple text fields and do the same for them. Thanks In Advance ...

Unable to use regex to search in PHP?

Hi, I'm trying to get the code of a html document in specific tags. My method works for some tags, but not all, and it not work for the tag's content I want to get. Here is my code: <html> <head></head> <body> <?php $url = "http://sf.backpage.com/MusicInstruction/"; $data = file_get_contents($url); $pattern = "/<di...

Can we have two or more function call in jquery-ajax success

I have request to webservice and getback xml result as output , In sucess function can i have a two or more function call function searchLocationNear() { // Get the radius using jQuery var radius = $("#radiusSelect").val(); // Make Ajax call using jQuery $.ajax({ type: "POST", data: "keyword1=&streetname=&l...

increase size of text on mouse hover css/jquery/html

I have a large paragraph. Within that there is a span tag with id for a particular word. On mouse hover the size of that particular word in para should increase. It can come above the other text and cover the contents in paragraph but it should not affect the alignment of other text. ...

Visual Studio 2008 HTML auto-formatter

Visual Studio 2008 "auto-formats" any block line elements such as div, h1, etc. using a line break after the opening tag. This has always bothered me when it comes to h1, h2 etc. I pretty much always have them on a single line. Is there any way to configure Visual Studio to keep these on one line? I.e. this is what it does <h1> Th...

Image change triggered by time and click

I want an image, which is not clicked after 5 seconds, to turn into another image, which then returns to the original image when clicked. So image > (user not clicked on image after 5 secs) > image prompting user to click > (user clicks) > image back to original. Any ideas? ...

HTML: if selected go to

How do i so when you pick a option in a select, then it should go to ?sort=Women ? ...

jQuery: if checkbox is checked, toggleClass..

Hi, I am a jQuery noob and seems I always will be, been trying to get this simple thing to work. What I want is, when the checkbox is checked, hide the div with display: none;. Here's a jFiddle example of what I'm making a mess of. Thanks for any help, or other solutions :) ...

Issues with MySQL Queries on certain hosting packages.

I've been building a website on a subdomain of my companies hosting package. It's got PHP MySQL operations happening in the background, i.e. INSERTs, SELECTs etc. They are the most basic of basic SQL statements and they all work fine. However, I recently copied EVERYTHING from my subdomain and uploaded it all to my clients own hosting...

python failed to call flash loaded html page

I tried to render html page which contains flash content. But it not responding. Loads endless. Text and image contents are OK. Here is my code. self.response.out.write(template.render('ieerror.html', dict())) html file contains: <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>flash content</title>...

Hearing an echo while playing mp3

I'm currently having problems while playing mp3 files on a website. I'm using the following code to play an mp3 sound: function playSound(url){ var userAgent = navigator.userAgent.toLowerCase(); var appVersion = navigator.appVersion.toLowerCase(); var appName = navigator.appName.toLowerCase(); var isOpera = (use...

Tips for progressive rendering of HTML from locally loaded file?

We're using the customer's default browser to display locally generated HTML files in a preview mode. The files are between 0.5M and 2.5M in size. These files do not progressively render in any of the top 5 Windows browsers (Chrome, FireFox, IE, Opera, and Safari). In other words, when we try to load these files, the browser window displ...

Applying sprite images using AlphaImageLoader

I am trying to use AlphaImageLoader for a PNG image but my image is a sprite image. I am not getting the output of my sprite image when I use AlphaImageLoader in CSS. How can I use AlphaImageLoader for sprites? Can I use it for sprites? ...

Nice vertical top-left menu tutorial

I saw a tutorial on the net about how to create a nice jQuery animated vertical navigation bar. It has a demo page that has a white clean background, this bar on the top left and some handwritten wording in the middle of the page. Please remind me that link. It looks similar to this one:http://nathanborror.com/ ...

php in html, some part of code is not displaying

Hi I would like to learn PHP and started reading this info's in the website: And I have question about this code: Why is this line not displaying? " echo 'Neo: I am Neo, but my people call me The One.';" Thanks <html> <head></head> <body> Agent: So who do you think you are, anyhow? <br /> <?php // print output ech...

Full height and full width CSS layout

Hi, I am looking for a way to create a CSS-only (no JavaScript) layout with 5 regions that looks like this: ┌────────────────────┐ │ H │ ├────┬────────┬──────┤ │ │ │ │ │ │ │ │ │ │ │ │ │ A │ B │ C │ │ │ │ │ │ │ │ ...

Path to my C drive from php mail function

Hi I run an internal site site to organise our company events. I want a user to be able to send an email using php. The script is obviously on my server. When the user has has completed the email I want to pick up the email signature (HTML file) from the users own pc on a c drive and then include it in the mail program on my server . I...