Alias
Privileged
-
Joined
-
Last visited
Reputation Activity
-
Alias got a reaction from Caesium in Help Needed: Extra Space at bottom of pageI'm pretty sure you're inspecting the elements of the image hosting site here... xD
-
Alias got a reaction from roothost in php includesHow do you mean by html extensions?
-
Alias got a reaction from sarah3585 in Good Wordpress starter themeI would say the twentyten theme is pretty stripped. Just make a copy of it and start playing away editing parts, I think thats the best way of learning.
-
Alias got a reaction from kingy da killa in BK designs new logoIt is better than that green! Maybe some way of linking the BK up in a nice thicker font would work?
-
Alias got a reaction from webdeveloper93 in php programing courseCourses on php, imo just trial and error sat behind your own pc looking on the web is the best way to learn!
-
Alias reacted to andy9l in Wordpress CommentsThe files you'll need to edit are:
comments.php in /wp-content/themes/your_theme
functions.php in the same dir
The first file is pretty obvious what needs to be themed, the functions file is not.
Find this line in functions.php:
function twentyten_comment
That function contains the code you should theme for your comment listing.
-
Alias reacted to andy9l in Wordpress CommentsLoad your page and find the HTML code Wordpress has given that submit button. It will have a class by default - just use that.
You can do that with some extremely simple jQuery (remember to include jQuery on your page):
$(document).ready(function(){ $("input").focus(function(){ if ($(this).val() == this.defaultValue) $(this).val(""); }).blur(function(){ if ($(this).val() == '') $(this).val(this.defaultValue); }); });
-
Alias got a reaction from RobertG in Help with computer hardwareAh yeah looks cool, what do you have your CPU running at?
I do plan on getting a bigger case, and maybe use this one as a media station for the TV and stuff, not sure yet.
-
Alias got a reaction from Shaun Pilkington in Noob looking to set up a basic website....Ha, tell someone to use wordpress who cant build a basic website... good idea..
http://www.w3schools.com/
Head over to that website, look at HTML, then CSS... You should be able to make a pretty basic site with just them 2
-
Alias reacted to webdeveloper93 in How do I end this session?ur session start has to be the very first line on ur page u can not have no content or spaces before it
-
Alias reacted to ayoungh in My first programming siteI dot think the site is very good considering its made with http://www.ucoz.com/ site builder. on a free .tk domain name.
Its a good concept but maybe create your own website?
-
Alias got a reaction from smithmr8 in Un-removeable paddingIn your css under body put:
body { *What you already have* margin:0; }
-
Alias got a reaction from Vreaking in Button that sets page to homepage?Not a clue, but a quick google:
<FORM> <INPUT TYPE="button" VALUE="Make This Site Your Home Page" onClick="this.style.behavior='url(#default#homepage)'; this.setHomePage('Page URL beginning with http:// here');"> </FORM>
Assuming it works
-
Alias got a reaction from Vreaking in Need help with changing submit button.The obvious first, is the image in the same directory as the file your loading? Also, you may want to set the height and width manually with specific pixels.
-
Alias reacted to craigburdett in How is this effect done?Redacted.
-
Alias reacted to planetabstract in Simple PHP login helpHi,
You need an action and method properties in your <form> tag, like:
<form action="process.php" method="post">
(process.php would hold your php code)
Also, you can have type="submit" in your button tag, like so:
<input style="width: 150px;" type="submit" id="reg" value="Register" />
-
Alias reacted to Synjyn in [Javascript] One button for hide/showI tested this now I had a chance to get to my computer. The only issue was the fadeIn/fadeOut were around the wrong way.
This below works fine:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Untitled Page</title> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> <script type="text/javascript" > $(document).ready(function () { $('#buttontest').toggle(function() { $('#LogoTest').fadeOut('slow'); }, function() { $('#LogoTest').fadeIn('slow'); }); }); </script> </head> <body> <input type="button" id="buttontest" value="Click me"> <img src="images.jpg" id="LogoTest" /> </body> </html>
-
Alias reacted to Synjyn in [Javascript] One button for hide/showFirst thing is your button calls the function, and then you are trying to set the display of the button itself to none or block - var e should be the ID of the image element.
I much prefer jQuery for Javascript funcitons these days, it makes javascript so much easier to code and will work consistently accross browsers. Also there are many plugins to utilise and improve the user experience.
FIrst you need to inlcude the jQuery library, I just use it from Google CDN.
Then you can use the jQuery toggle function (which handles click and toggles between 2 calls. This is attached to the button id. Then call the fadeIn and fadeOut calls on the image id you want.
It will be something like below, not tested but it wont be far off.
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> <script type="text/javascript" > $(document).ready(function () { $('#buttontest').toggle(function() { $('#imageId').fadeIn('slow'); }, function() { $('#imageId').fadeOut('slow'); }); }); </script>