Everything posted by Zoli
-
Combining external css files
I think that regarding css there is nothing which could go wrong but if you use some kind of javascript framework you need to take care of the correct sequence. In the merged js file the framework should be above the functions for the proper operation.
-
Rollover not working?
I'm not sure that you have not solved this, because the at mouseover state the link turn to white so follow the css rules perfectly.
-
Javascript scrolling style
Hi Greg, I think you are looking for this smoothscroll.js Hope you will like it Thanks Zoli
-
difference between html and css
Hi Harish, Html (hypertext markup language) is a programming language which is used to display contents on the WWW. The css (cascading style sheets) is usually attached to the webdocument as an external file, and it controls the layout and the appearance of the element contained by a given webdocument.
-
<br/> and <p> , anything else?
I think you may want to use the margin css property since it control the space around certain objects. Thanks Zoli
-
CSS Menu with IE
The menu looks the same with FF and ie6 for me. Maybe you should just clear your browser cache.
-
align content to top of div
Hi, I had to apply to modifications. In your html code I added the <br/> tag before the div#foot <br clear="all"/><div id="foot"> </div> and in the css I inserted a float:left; attached to the #content selector. It looks great with my resolution 1280*1024:)
-
Change the look of submit button in PHP file?
I think you may use inline styling in this case. < input type="submit" value="Go" style="background: #93828C;float:right">
-
images
The html code will be <img src="/images/image.jpg" id="bottom-left" /> the css will be img#bottom-left{ position:absolute; left:0px; bottom:0px}
-
e-commerce header navigation: amazon or net-a-porter?
Considering that you are going to create a luxury store I think you should follow the http://www.net-a-porter.com/ menu structure, and focus on the products. I am pretty sure it will serve your goals.
-
Linkgraph - no more 404's !
I liked the idea, I think it may seriously improve the usability of certain websites, though not convinced that it would work in all the cases properly.
-
how frequently the information is usually updated in Google?
I believe that this is unpredicteable. I assume that your content sould recached once google recognised that it is updated because the served if-modified-since http header will let the bot know about the change. Otherwise the google usually rebuild the stored document from time to time, the sampling time is usually depends on the link popularity of a given webdocument. Regards, Zoli
-
AJAX page wont stop loading
Hi, Well I think you should extend the following code snippet http.onreadystatechange = function(){ if(http.readyState == 4){ document.write(http.responseText); } } with the spinner removal, so it would be: http.onreadystatechange = function(){ if(http.readyState == 4){ document.write(http.responseText); document.getElementById("spinner").style.visibility="hidden"; } } or something similar.
-
Gallery scripts with popups
Well, I don't hink it would be a difficoult challange for an experience coder. The basic is that more images are assigned to a given product. I believe it would be more fancy if the popup would be eliminated from the system -because the additional loading does not improve the customer experience in my point of view- and the multiple images would be displayed directly at the product page. If you go for the small details, I suggest to visit this jquery based magnifier script page: http://turtle.dojotoolkit.org/~dante/jquery/Magnifier.html. Good luck
-
Can I trust mysql_real_escape_string() ?
Yes, according to my best knowledge it is the suitable function to prevent the sql injection attack.
-
SEO Deal
Personally I believe seo is crucial so I will never give it out from my hands, though there are some years behind me. I do think that about 90% can be learnt from the free webmaster forums, which are usually enough for achieve nice results. I love the try and fail strategy but it only works when you have time for the mistakes. I think only some part of the link building can be outsourced, but with clear specifications.
-
Need some help creating a header...
Hi James, You may want to have a look into this resource, you may find it useful.
-
Improving this navigation design
Hi Davide, So far the navigation looks very promising for me. I think that increasing the height of the selected tab with about 20% and setting a very light opacity (0.8 or so) to the non selected one could looks good. Good luck!
-
Javascript help
function validateForm() { if(""==document.forms.join.username.value) { var uname = document.getElementById('uname'); uname.innerHTML='Please enter a username'; return false; } else { lengthRestriction('fname', 6, 18); return false; } if(""==document.forms.join.name.value) { var name = document.getElementById('name'); name.innerHTML='Please enter a name'; return false; } if(""==document.forms.join.day.value) { var Bdate = document.getElementById('Bdate'); Bdate.innerHTML='Please Enter a valid Birth date'; return false; } if(""==document.forms.join.postcode.value) { var Pcode = document.getElementById('Pcode'); Pcode.innerHTML='Please enter a valid post code'; return false; } return true; } I suppose it will now work with the injected return true. Why? I have no idea
-
IE6 Float Issue
Hi, The div#homerightcontent is 430px width with a 10px right padding and the div#homeleftcontent is 450px with a padding-left:18px value. 430+10+450+18=908px if my calculation is correct, while the container div#wrapper layer is 892px. I suppose this is the reason why of the ie7 effect. If I were you I would increase the width value of the dic#wrapper, I guess it will solve all your problems, at least I hope
-
JavaScript Help
I am pleased to hear that the problem is solved, everybody has its own favourite js framework, and my winner is mootools without doupts.
-
Overwriting a website?
Hi, Unfortunetly I have no idea what kind of FTP software do you use, but I would like to suggest the use of total commander, because it is possible that you use this when you structure your file system on your pc. After establishing an ftp connection, you need to open the public_html folder which store the files of the old website. Press F8 or delete and you will be able to delete them even individually, or alltogether depending on your preference.
-
JavaScript Help
Hi, I have downloaded the html file, please see the fixed one in my attachment. The javascript should have wrapped to let browser know that it is a domready function, plus the mootools library was not requested. Please grab the linked mootools.svn.js and save it to your webserver for further use. test.html
-
AJAX vs I-Frame
Hi, To be honest it is very difficoult for me to imahina how would you like to substitute the iframe with ajax, but this is not so important here. You may use the var webpage=location.href; to assign the request webpage to a string.
-
JavaScript Help
What do you think about this mootools based solution? Grab the code if you like and run