Search Results

Showing results 1 to 30 of 30
Search took 0.01 seconds.
Search: Posts Made By: kanaku
Forum: HTML and CSS Feb 20th, 2009
Replies: 5
Views: 616
Posted By kanaku
I was going to be a pompous ass and point you to the W3C site... but it's written in Martian so I'll try to humanize it here. =)



If you have a couple of floated elements, say div1, div2, and...
Forum: HTML and CSS Jan 23rd, 2009
Replies: 5
Solved: css question
Views: 654
Posted By kanaku
CSS inheritance works (more or less) in this way:

- checks your main (ie the a:link)
- checks the specific a:hover
- checks inline style

Your external CSS is correct in that it has...
Forum: HTML and CSS Jan 21st, 2009
Replies: 3
Views: 1,280
Posted By kanaku
This was actually a solution to making divs behave like a table-cell (for those of us who were used to the early-table-like-layouts).

I find them useful for making divs extend all the way down....
Forum: HTML and CSS Jan 20th, 2009
Replies: 3
Views: 1,280
Posted By kanaku
I'm not sure if you'll like this, but a display: table-cell; attribute-value in your image's block should do the trick (this also works for backgrounds that won't show because the holding block...
Forum: HTML and CSS Jan 19th, 2009
Replies: 14
Solved: CSS and Forms
Views: 1,839
Posted By kanaku
Yes, and we're asking for the html code. Not the php. =)
Forum: HTML and CSS Jan 11th, 2009
Replies: 14
Solved: CSS and Forms
Views: 1,839
Posted By kanaku
Perhaps a 'scrap' of code that can be copy pasted directly (with head, body, etc). Cfa probably wanted to help you, but you should also help us help you (if that makes any sense). After all, unlike...
Forum: HTML and CSS Jan 10th, 2009
Replies: 14
Solved: CSS and Forms
Views: 1,839
Posted By kanaku
I read a convincing article that justifies using tables for forms... because they are still 'tabular' info. (2 columns: col1 is field title, col2 is input field)

But if you really want to, you can...
Forum: PHP Jan 4th, 2009
Replies: 3
Views: 457
Posted By kanaku
Hallu again rajeesh! SkyVValker had the same problem about limiting the display. His question was already answered here (http://www.daniweb.com/forums/thread165863.html) by DiGSGRL. :)
Forum: HTML and CSS Jan 3rd, 2009
Replies: 6
Views: 2,117
Posted By kanaku
Oh ok. sorry about that... I didn't notice the 'coming out' effect. Here's the code for it:

body
{
background: #FFF url('logo.png') no-repeat 150% -125px;
}

I snooped at the code *hungs head...
Forum: PHP Jan 2nd, 2009
Replies: 12
Views: 5,577
Posted By kanaku
Cool. (Even if I didn't ask the question)

I always wondered how the check(ed)boxes are passed to the table.


But is it bad practice to create a separate table that holds the checked values for...
Forum: HTML and CSS Jan 2nd, 2009
Replies: 6
Views: 2,117
Posted By kanaku
It's a background image set in the document body.

Here's the CSS code for it:

body
{
background-image: url(image.gif);
background-position: top right;
background-repeat: no-repeat;
}
Forum: JavaScript / DHTML / AJAX Jan 2nd, 2009
Replies: 3
Views: 3,800
Posted By kanaku
Try this link. (http://www.peters1.dk/webtools/javascript/slideshow.php?sprog=en)

It's a copy-paste tutorial. :D
Forum: PHP Jan 2nd, 2009
Replies: 3
Views: 449
Posted By kanaku
Use a dynamic and static salt combination?
Article from codeigniter -- but the concept is the same. (http://codeigniter.com/blog/P5/)
Forum: JavaScript / DHTML / AJAX Jan 2nd, 2009
Replies: 10
Views: 2,174
Posted By kanaku
Here is how to check if an input field is empty (javascript code):

var email = document.getElementById('email').value;

if (email == undefined || email == '')
{
alert('Please enter an email...
Forum: JavaScript / DHTML / AJAX Jan 2nd, 2009
Replies: 10
Views: 2,174
Posted By kanaku
Recall that you give a 'name' to a group of checkboxes/buttons in your html code like this. To easily loop through all the checkboxes, use the getElementsByName method. Here is a demo using...
Forum: JavaScript / DHTML / AJAX Jan 1st, 2009
Replies: 10
Views: 2,174
Posted By kanaku
It wasn't clear the first time.


<html>
<head>
<script type="text/javascript">
function check()
{
var o = document.getElementById('addyes');
var t = document.getElementById('addno');
Forum: JavaScript / DHTML / AJAX Jan 1st, 2009
Replies: 10
Views: 2,174
Posted By kanaku
Perhaps you wanted something like this:

<html>
<head>
<script type="text/javascript">
function check()
{
var o = document.getElementById('addyes');
var t = document.getElementById('addno');
Forum: PHP Dec 31st, 2008
Replies: 6
Views: 550
Posted By kanaku
... I second the motion!

Installing php and apache separately might not be convenient for beginners. =)
Forum: PHP Dec 30th, 2008
Replies: 6
Views: 550
Posted By kanaku
How did you install PHP? Did you download a package (like XAMPP or EasyPHP) or did you just download the latest version of PHP?
Forum: PHP Dec 30th, 2008
Replies: 16
Views: 1,966
Posted By kanaku
Sadly, no. I just tried right now...

The only Javascript events that apply to the option elements are
1. onFocus (you have to click on it --- since your option tags open the page upon clicking,...
Forum: PHP Dec 30th, 2008
Replies: 16
Views: 1,966
Posted By kanaku
Eep! Are you working with that tutorial or looking for something else? The link I gave you is also a tutorial for that effect.
Forum: PHP Dec 30th, 2008
Replies: 16
Views: 1,966
Posted By kanaku
hehe... ok lang. =)

Link of the selected list...?

Do you want something like this (http://meyerweb.com/eric/css/edge/popups/demo.html)? (Hover on the left menu.)

The tutorial for doing that...
Forum: PHP Dec 30th, 2008
Replies: 16
Views: 1,966
Posted By kanaku
Try adding a title attribute to each option...

<select>
<option title="http://www.google.com">Google</option>
<option title="http://philippineonlinedirectory.com/aklan">Aklan</option>
</select>...
Forum: Existing Scripts Dec 30th, 2008
Replies: 8
Solved: Linking
Views: 2,207
Posted By kanaku
Ok. So have you used the $base_url? This will help you save time when transferring the site or when editing links...

Just define the constant in your header (or somewhere up there) then you can...
Forum: Existing Scripts Dec 30th, 2008
Replies: 8
Solved: Linking
Views: 2,207
Posted By kanaku
When you're in the forums, the links are pointing to http://www.forums.central-forums.net/forums/ and http://www.forums.central-forums.net/about --- which is probably wrong!

Your homepage, ...
Forum: Existing Scripts Dec 30th, 2008
Replies: 8
Solved: Linking
Views: 2,207
Posted By kanaku
Why won't it work? Does it lead to a 404 error or does it not open at all?

<li><strong><a href="http://www.central-forums.net">Homepage</a></strong></li>
<li><strong><a...
Forum: MS SQL Dec 29th, 2008
Replies: 7
Solved: Complex Query
Views: 840
Posted By kanaku
There is something called 'case expressions' in MS SQL queries...

This article is a bit outdated (http://www.craigsmullins.com/ssu_0899.htm) but it still makes a lot of sense. Jump to the "A more...
Forum: MS SQL Dec 29th, 2008
Replies: 7
Solved: Complex Query
Views: 840
Posted By kanaku
I was thinking you could do it by joining the table to itself. But then you have the problem of not knowing if the page you're looking up is in the 3rd or 4th level of 'childhood'.

Anyway, this is...
Forum: PHP Dec 29th, 2008
Replies: 4
Views: 364
Posted By kanaku
You don't have to reopen the php tags in a heredoc (heredoc is the EOT thing you're using).

So if $ad_row['url'] contains the url, you can just include it as you would any other variable in php:
...
Forum: PHP Dec 29th, 2008
Replies: 16
Views: 1,966
Posted By kanaku
Eep. I think that javascript is the only way to go.

PHP is (I don't know the formal term) but it only works when you 'submit' or 'send' the data. From experience, it's Javascript that handles...
Showing results 1 to 30 of 30

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC