Hello,
I am using the code below to send out an email if certain conditions are met. It works fairly well. However, $link1 displays as a full URL rather than just as anchor text. How could I make just the anchor text display?
Thanks in advance,
John
$querye = mysql_query("SELECT subcheck FROM submission WHERE subcheck = '1' AND su...
I'm trying to make my button bigger when it receives focus:
<html>
<form name="myForm">
<button onfocus="width=200; height=200">myButton</button>
<button>myOtherButton</button>
</form>
</html>
Any idea how can I make it work?
...
I have a problem with my anchor tag.
For example I have:
<a href="#">abc</a>
Then output is abc (#).Whatever i write inside href attribute comes along with a tag.
Dont know what's wrong with the code.
Please help me out, thanks.
...
I do want to show just text inside an INPUT. So, How can I do it?
<p><input type="image" src="" border="0" name="submit" alt="Donate"></p>
Basically, It works good but Safari and Chrome does not display the alt="Donate. Instead, it shows an empty square.
Edited:
I have used this code from bobince:
<input type="submit" class="unbu...
I'm a webdeveloper with an emphasis on server-side programming. What little I've tinkered with JavaScript, I've done with externally referenced files or event handlers, and the barest minimum of an initialising function call between <script> tags.
As such it came as a surprise to me about a week ago that the data between <script> tags i...
function highlightRow(searchRow)
{
if(searchRow != null)
{
var oRows = document.getElementById('Table').getElementsByTagName('tr');
//use row number to highlight the correct HTML row.
var lastTwo = searchRow;
lastTwo = lastTwo.slice(-2); //extract last two digits ...
I'm trying to load specific content from a XML to a HTML div. I'm using a function with parameters to do this.
This my call to function:
loadDoc("news.xml","destak-article","article");
this should send a request for the xml file, get the content of «article» tag and put it on the «destak-article» div.
Here's my function body:
funct...
’m working on a project that allows users to design forms in a web editor. Some of that content is growing/variable in nature (we run a process against it and add/replace various HTML tags).
The end requirement is that this form be printable and look super fantastic.
In order to make this printable, I need to insert page breaks approp...
How would I produce something like this in Rails ERB?
<li><a href="portfolio.html">Portfolio <span>Our work</span></a>
My problem is that ruby won't allow me to span inside of the link.
<%= link_to 'portfolio', portfolio_path %>
Anyway to get the Our Works Span inside of that link?
Thanks in Advance.
Solved
<% link_to portf...
Possible Duplicate:
How can I tell what a website was written in?
Is there a way to find out what are the web technologies used to build certain websites ? For example I like this website : http://www.grouprecipes.com How can I know what technologies he used without contacting him ?
...
I have a table structure looking something like this. One outer table and in almost each td I got an inner table.
<table class="outertable">
<tr>
<td>
<table class="innertable">
<tr><td></td></tr>
<tr><td></td></tr>
</table>
</td>
<td>
<t...
Hello,
The query below sends out an email. It works okay, but the message is condensed into basically one long paragraph. I would like a break where I have the </br> tags below. However, the </br> tags are being ignored. Any idea how I could put breaks there?
Thanks in advance,
John
$message1 = "
Someone made the foll...
I am using an XMLHttpRequest to fetch an image from a server (run locally from a third party server-applet)
A simplified version of the code is shown below.
The image is returned as a JPEG and the returned header shows "content-type= image/jpg". I can view the information via Firebug for Firefox.
However I am having a terrible time...
I have heard countless reasons on why not to use HTML frames, from their lack of accessibility, the general lacking in UX, their being completely inefficient/unmaintainable, or them just being outdated.
This all brings me to two questions:
Does this general consensus of hate apply to iframes as well?
In what scenario(s) is it accepta...
I have been researching this one for awhile. I found several resources on the subject and they all tend to use the same approach - override Page.Render, use the HtmlTextWriter to convert the output into a string, and then use a series of compiled regular expressions to remove the extra whitespace. Here is an example.
Well, I tried it an...
hi there!
i'm working on some piece of code that should get the contents of a very specific html-tag of an html-document given.
$html = "<html>..........truncated.........<div>blablabla<br />xy</div>.....";
$dom = new DomDocument();
$dom->loadHTML($html);
$divs = $dom->getElementsByTagName('div');
echo $divs->item(0)->nodeValue.'<br>...
Hi all,
I'm (needless to say) relatively new to CSS3 and I'm having trouble with aligning content.
I have a page with a jQuery UI Tabs module in it. When I display it on the page, it comes out looking like this:
EDIT I know it's a terrible screenshot, but I'll just say, the Tab box is left-aligned on the page.
I've tried to use the...
How can allow this page to run on IIS server...
It does not work on localhost..... it works when I open it directly... It gives the error "it is not allowed...!
The working Example..! I want this.. ""
the Erorr:
<html>
<head>
<script src="jquery.js" type="text/javascript" language="javascript"></script>
<script src="jquery.xml2json....
I've been looking around for ages, and have settled on Galleria. It's... useful I suppose. Can anyone suggest anything better? What I'm imagining is a gallery format much like this:
http://www.lolitaagogo.com/illustration/illustration/
After a little research on her website it looks like it's some custom js built by squarespace. So usi...
Hi, I'm trying to change the background color of an HTML table cell when the user clicks on the cell. Any ideas on how to do this? I have access to the JS Prototype library, so any suggestions for Prototype or straight Javascript would be welcome. Thanks!
...