We have variable $menu with HTML inside (there is no loop, it comes from a function).
On echo it gives the code like this:
<ul id="menu">
<li id="some-id" class="many classes one"><a href="#">text</a></li>
<li id="some-id" class="many classes second active"><a href="#">text</a></li>
<li id="some-id" class="many classes thre...
I would like to create a div, that is situated beneath a block of content but that once the page has been scrolled enough to contact its top boundary, becomes fixed in place and scrolls with the page. I know I've seen at least one example of this online but I cannot remember it for the life of me.
Any thoughts?
...
Hi,
How can div wrapper grow with img size?
<div style="width:900px;">
<div style="width:100%;">
<div>some text......</div>
<img src="<?php echo $imageSrc; ?>"/>
<div>some text......</div>
</div>
</div>
Thanks
...
Hello,
I am trying to pull data from a website using objective-c. This is all very new to me, so I've done some research. What I know now is that I need to use xpath, and I have another wrapper for that called hpple for the iPhone. I've got it up and running in my project.
I am confused about the way I retrieve information from th...
Is it possible to add Bullet points for the warning/Alert message box for a webpage using HTML and Java Script? If not, what would be the best possbile way to create one of those?
The message box should have the below properties:
Warning Image
Message box header
Bullet points listing summary
Accept and Reject button
Thanks in advanc...
I have come unstuck on a relatively (almost) trivial problem. I have a row of data that I want to display in tabular form (HTML). For some reason (possibly long day [again] behind the computer), I am not coming up with any elegant solutions (algorithms) to do this.
I have presented some sample data, and how such data would be displayed ...
im building off the wordpress plaintxt sandbox theme, and what i have i a big background picture, on the body element, which is basically the whole background, it doesnt repeat.
what i want is to have another jpg to repeat at the end of this one.
from what i realize, i cant put them on the same element.
i tried to put the repeatable one...
Hello everyone, im new to learning python and i've been trying to implement a text to image converter that runs on a web page.
1.I have succeeded in making the functional code that converts the text into image ,in python using the PIL module. (i.e user enters input text at run time and that gets converted into an image and is stored in...
I have a parent window for entry transaction that havs customer ID field input. User have to click find button beside it and new window will be opened and user can findout there. Whenever user choose selected customer, the parent will display some information of the customer like name, address may be, and detail of claim. Anybody can sho...
Hello there
ok i may be wrong about this and if i am then i am sorry. But is it possible to change the screen with ajax by looking at whats after the "#" in the link.
because when im on facebook i know that it is all an iframe yet when the screen changes so does the text after the "#". Is that what is causing the change or is that a resu...
how can i match a text that is outside of an anchor tag ? example : "test <a>test</a>" i want to get the test outside of the a tags only.
thanks.
...
I have this regex:
var alphaExp = /^[a-zA-ZåäöÅÄÖ\s]+$/;
This is for a name-field in a form validation.
I need to make it possible to type names like this "Anna-nicole" (note the minus sign).
Currently the minus sign causes error.
I need to remake this regex so that a minus sign can be included in the name, preferrably make it so ...
I have a picture uplaod tool which reloads the page (which contains a form) whenever a picture is chosen.
I have this code to "remember" the drop list options selected, so basically I am creating options using php:
$posted_type=$row['9_type']; //From mysql db
$types = array('Clothes', 'Bags', 'Others');
$category_table .= "<select nam...
I'm a college student trying to create a drop-down menu for my professor. Since I don't have any programming background, I found a program called "SoThink DHTML" that generated a code for me, but there are some errors within that I don't know how to fix.
The menu, overall, should have tabs to "Home," "Research" (3 subtabs: "Research Pro...
I am having an issue with a SELECT tag in an HTML form on an ASP page. This will have varying numbers of options under it, and is generated dynamically from a database. Code below;
<select name='select1' id='select1' size='10'>
<option value="12345678901234567890">User-Friendly Text 1</option>
...
<option value="100000393737...
I'm trying to do something like this:
<h1><% =FirstName %></h1>
However, intellisense doesn't show anything when I'm inside the percent brackets, and if I just run it, the resulting web page has not picked up anything inside the percent brackets. I've also tried using other code in the percent brackets, but nothing seems to get picke...
I'm relatively new with HTML and am creating a website that plans to use a list comparable to the Windows Explorer 'Show as Details' option.
I'm sure tables have this ability and are even made to implement exactly that however playing around with them I can't seem to get them to work as I'd expect. Google then fails to give me any good...
I have a form which is dynamic.
That means, the inputs names are changed, and not the same, but they are all the same "TYPE".
So I need to have a javascript which gets all input type="text" and validates them. Is this possible?
If so, how?
All I need to check is so that they are not empty, and that they are only numeric.
Thanks
...
Hi,
anywhere I read that values in select boxes (or anything else in the html code) should not be the primary key of the database table. For example:
<select>
<option value="1">Value 1</option>
<option value="2">Value 2</option>
</select>
In the database there are lookup tables with these values as primary key (1, 2, 3,....
I have some HTML taken from an originally printed document. It has some page numbers:
<span class="page">42</span>
sprinkled in the middle of paragraphs where the original document had page breaks (for no semantic reason, but just because that's where the end of the page happened to fall).
Right now I've just hidden them. But I'd lik...