1
голосов
1ответов
959 просмотров

How do I control what images Facebook attaches to the feed story when my website is shared?

Possible Duplicate: How does Facebook Sharer select Images? When I add a Facebook link to my website, it picks up randomly large images from the site, and not quite attached to the story. How can I control what images are picked up by Facebook?

3
голосов
4ответов
1669 просмотров

Fixed - Liquid - Fixed Layout

I'd like to have a [Fixed][Liquid][Fixed] cross-browser compatible layout. HTML: body div#col-1 div#col-2 div#col-3 CSS: #col-1 { width:150px; float:left; } #col-2 { width:100%; padding:0 150x; } #col-3 { positon:absolute: right:0; width:...

-1
голосов
1ответов
430 просмотров

How do I process the data submitted from HTML Form?

I have written code to create a form to select multiple values. Below are some lines of my code to create a form to select multiple values. my $parser = Text::CSV->new(); open($csv_fh, '<', $csv_file) or die $!; my @headers = $parser->column_names( $parser->getline($csv_fh) ); print ...

4
голосов
6ответов
5937 просмотров

Why does Disabled = ture for html work?

I noticed in our code that there is a disabled = ture' i the source code for anchor tag. I was wondering why it works in IE. I also searched the internet and it is also being used in a lot of source code via a search in the net. I have been searching if ture, a wrong spelling of true can also be ...

4
голосов
3ответов
3988 просмотров

PHP XPATH of HTML document omitting all tags. I want to keep them

I am parsing a HTML document with XPATH and I want to keep all the inner html tags. The html in question is a unordered list with many list elements. <ul id="adPoint1"><li>Business</li><li>Contract</li></ul> I am parsing the document using the following PHP...

0
голосов
5ответов
425 просмотров

Is there a way to force open a new browser window from MOzilla to IE by Onclick function?

Iam getting new window pop up by using window.open(), but need When i click button in Mozilla browser, a new pop window should open in Internet Explorer, Is it possible......

8
голосов
4ответов
2318 просмотров

Is it possible to get HTML tag autocompletion in Netbeans IDE?

I just installed Netbeans 6.7 for Ruby and one of the things that bugs me is I have to type both the opening and closing HTML tags even though it seems to recognize that I have completed the opening tag. Is it possible to configure it to automatically type the closing HTML tag for you, as some ...

1
голосов
1ответов
830 просмотров

Submitting form replaces constant GET information that is needed for the page

I'm learning php and I've got to say I've googled everywhere and I'm stuck :( My question is, in other words, how can I get new variables added to previous variables on the page? Imagine this being www.mysite.com/getvartest.php?orgvar=12345 but after submitting this form it'll go to www.mysit...

0
голосов
1ответов
866 просмотров

Responding to HTML hyperlink clicks in a C# application

Question: How can I detect and handle clicks on hyperlinks in a Windows.Forms.WebBrowser control in C#? Background: My C# application does not carry a centralised help file. Instead, all the pieces that make up the app are allowed to display their own little help topic. This was done because t...

1
голосов
1ответов
1492 просмотров

Trouble loading html file from plist to webView on iPhone

trouble loading html file from plist to webView using following code in FAQDetailViewController.m: - (void)viewDidLoad { [super viewDidLoad]; NSString *Path = [[NSBundle mainBundle] bundlePath]; NSString *WebPath = [Path stringByAppendingPathComponent:WebFile]; UIWebView *tem...

0
голосов
1ответов
718 просмотров

How to make a double linked-list in javascript + html

I have a class called listaDoble, in a Javascript document. And I have another HTML document with a text field and 4 buttons: Next, Back, New. When I press the New button I put, onmouseclick="lista= newListaDoble();", but then I lose the reference to the object. Some help?

18
голосов
4ответов
8436 просмотров

what are the "for" and "event" attributes of the script tag (Javascript,HTML)

In a web application I've inherited at work which was written about 10 years ago I've noticed the following code snippets repeatedly used: <script language="JavaScript" for="FG1" event="Mousedown(Button, Shift, x, y)"> { // some code here that uses the variables Button, Shift, x and y }...

2
голосов
3ответов
4120 просмотров

Simple jquery popup

I'd like to make a very simple jquery box come up saying "Sorry, that blog post could not be found." I don't want anything very advanced... How should I go about this?

8
голосов
4ответов
49114 просмотров

Post array of multiple checkbox values

Why is only one value of the "db" checkbox values array being sent to the server side script? JQUERY: $(".db").live("change", function() { $(this).add($(this).next("label")).add($(this).next().next("br")).remove().insertAfter(".db:last + label + br"); var url = "myurl.php"; var db ...

9
голосов
4ответов
4524 просмотров

html print a very wide page on several A4 sheets

I have a page with a wide (say around 3000px) horizontal graph which is normally scrollable. In the printing version I render the entire graph, (I actually have a separate JAvascript/HTML code for the printing version), so it takes lets say three A4 widths (landscape) on the screen. In this sit...

0
голосов
1ответов
229 просмотров

Disabled Text Field Value Not Being Recognized in SQL

I have a text field that is disabled based on who the user is. When the page submits, the value of the text field is supposed to be inserted into a SQL table, but SQL seems to see the value as empty because the text field is disabled. Can anyone tell me a way to get this value into SQL, i.e. for...

1
голосов
3ответов
4196 просмотров

Weird SPAN element rendering in Safari (on iPhone)

Whenever there is a SPAN element in HTML content, the mobile version of Safari renders content differently- it seems that font size increases for the whole paragraph. Consider two examples. <div style="border: 1px solid red; width:500px;"> <p>This is a paragraph. This is a paragraph....

0
голосов
1ответов
128 просмотров

Making an IE8 Accelerator for my website

i have a file Accelerator.xml <?xml version="1.0" encoding="UTF-8"?> <os:openServiceDescription xmlns:os="http://www.microsoft.com/schemas/openservicedescription/1.0"> <os:homepageUrl>http://www.sapo.pt</os:homepageUrl> <os:display> <os:name>Fi...

0
голосов
3ответов
199 просмотров

Python AppEngine And HTML

I have a simple Hello World application in Python that i'm using with AppEngine, but i want to insert this in a HTML file, like this: I have a file called test.html and on it i have this snippet: <center><img src="test.png></center> // Here comes the Python App // I want to p...

1
голосов
4ответов
16302 просмотров

Newbie CSS/HTML: How to add ad in a div container to the side of the page?

I got a centered website with a fixed width. Now, I want to add an ad banner of fixed width/height to the right side of the page. There is a wrapper div of width 700px. But I can't get my banner on the side. I dont know why. Can someone help me please with my CSS id? <div class="wrapper">...

3
голосов
3ответов
1463 просмотров

Can one prevent Genshi from parsing HTML entities?

I have the following Python code using Genshi (simplified): with open(pathToHTMLFile, 'r') as f: template = MarkupTemplate(f.read()) finalPage = template.generate().render('html', doctype = 'html') The source HTML file contains entities such as ©, ™ and ®. Gensh...

2
голосов
1ответов
3868 просмотров

Escaping ampersands input by users through text fields?

Like almost all apps today, I have users who enter various information through standard text inputs. My app is running on Rails. It's a no-brainer to escape ampersands that I include as part of the site copy, etc. But how do I escape an ampersand that is dynamically input by a user? Curre...

3
голосов
2ответов
877 просмотров

Any existing C# code (OSS) that will calculate diff between two strings and output html?

I need to compare two strings and output the diff in HTML (similar to MS Word "track changes"). Language is C#, this is (not surprisingly) a .NET web app. There are a few similar questions (like this one for PHP/Python), but no existing question on SO. I don't need a finished project, just an...

1
голосов
2ответов
198 просмотров

Jquery-- Finding the ID of an element in a DIV

Im trying to get the ID of the <div> element here so that i can use it to animate the opacity of the when i hover over the div with class 'module'. i have set the opacity of all the <div> elements with class 'moduleInfo' to 0. So basically what im trying to do here is when i hover m...

3
голосов
1ответов
1275 просмотров

Move Browser window down to the position of a div when it is loaded by ajax & Jquery

I have a div into which I am loading data dynamically by ajax, jquery. like $('#wp').load('http://someurl.com/getit',p,function(str){} ); Now because I am having page full of data before that div I need to move the browser window down to that div's location after it is loaded with slow motion ...

50
голосов
14ответов
146256 просмотров

Vertical Align text in a Label

I have been asked to vertically align the text in the labels for the fields in a form but I don't understand why they are not moving. I have tried putting in-line styles using vertical-align:top; and other attributes like bottom and middle but it doesn't work. Any ideas? <dd> <lab...

56
голосов
7ответов
100461 просмотров

How to hide Table Row Overflow?

I have some html tables where the textual data is too large to fit. So, it expands the cell vertically to accommodate for this. So now rows that have the overflow are twice as tall as rows with smaller amounts of data. This is unacceptable. How can I force table to have the same row height of...

0
голосов
1ответов
1261 просмотров

Resize background-image to fill the page height-wise, but allow elements on either side

I'm having a lot of issues trying to do this, and I'm now wondering if it's even possible in css. (Maybe I will need to find some other way using PHP, Flash or Javascript!) Basically, I have 3 images. Each are 1920x1200 (x*y) in size. When placed from left-to-right they form an image of a landsc...

83
голосов
34ответов
101065 просмотров

Google Maps API v3: InfoWindow not sizing correctly

It appears my InfoWindow, when you click on the home icon on my Google Maps v3, is not properly auto-sizing to the content of the InfoWindow. It gives scrollbars when it should not. The InfoWindow should be properly auto-sizing. Any ideas on why? Per request, the relevant JavaScript which inje...

0
голосов
2ответов
174 просмотров

popluating multiple id tags

How can i populate multiple id tags simultaneously. On my page i have id tags starting with "total_" phrase, like total_1, total_2 etc., is there a way by which i can populate each of them on a single click in javascript. Should i use regex or parser. Any help will be highly appreciated. Than...