treehouse : what would you like to learn today?
Web Design Web Development iOS Development

hardik

developer, researcher and now blogger
  • Scrolling, Frameborder, and Allowtransparency Attributes in IE.

    it could be iframe browser security issue, you cannot set some attributes via javascript on iframes.
    Comment by hardik May 2011 permalink
  • [Solved] Add a Class to Nav depending on URL

    http://stackoverflow.com/questions/406192/how-to-get-the-current-url-in-jquery use method from above link to get url and split the url into pieces by javascript split method.
    Comment by hardik November 2010 permalink
  • Min/Max Width & Floats

    i couldnt see drawing as it required login but i think you need to look for css grids which have option for fluid width. google might help :) let me know if you need more help.
    Comment by hardik November 2010 permalink
  • Reloading A php script with jquery

    well looking at script its too difficult to understand what could be cause of error. but for 500 error's. there are things like either if you server is older or if you use some function which is blocking something or doing something with allo…
    Comment by hardik November 2010 permalink
  • Trying to use jQuery to target the 3rd result from a wordpress loop.

    well i m not able to figure out all things from your example but one thing i have noticed is you haven't use document.ready so it will not apply it your code is like the one you have shown because dom will not be constructed when javascript wil…
    Comment by hardik November 2010 permalink
  • Anything Slider - Page Flashes

    any example url or code ?
    Comment by hardik November 2010 permalink
  • Fine French Resturant website. Feedback?

    classic at the same time awesome, garamond font's giving nice effect.
    Comment by hardik November 2010 permalink
  • When can I hard code wordpress pages?

    @cybershot use hooks so you don't make any default functionality break when you update. and it's better to know system first then to do some custom code or else you will break something and you will know when you update the main system
    Comment by hardik November 2010 permalink
  • CSS-reset

    @shuma you can make image sprite and load just one image and make rounded corner's or use border-radius :)
    Comment by hardik November 2010 permalink
  • help with first wordpress plugin

    @cybershot i have seen your code but i guess there is problem with other things. read this article first and follow all it's all steps http://net.tutsplus.com/tutorials/wordpress/creating-a-custom-wordpress-plugin-from-scratch/ and if still …
    Comment by hardik November 2010 permalink
  • Validation (again)

    @chriscoyier well i see many times people complaining about IE not working on things. and most of times it works on compability view of IE. and thing with is making it with standard based coding. i.e if you have doctype included of xhmtl transitiona…
    Comment by hardik November 2010 permalink
  • web 2.0

    to me web 2.0 was about web API's & Mashup's like google map and new type of trend's like blogs and forums and all type of social media explosion. also be ready for web 3.0 - enter the matrix - just to make it short web 3.0 is al…
    Comment by hardik November 2010 permalink
  • CSS Drop Down menu over iframe and Flash

    for all z-index and ie issues. just remember ie calculates z-index based on root nodes not on nodes you have given z-index. ie div.a>div.b>ul>li>a - this node is your menu div.c>div.content - this node is your content with flash a…
    Comment by hardik November 2010 permalink
  • dropdown menu with OnClick function

    too examples with jquery.... hope it helps... http://www.jankoatwarpspeed.com/post/2009/07/28/reinventing-drop-down-with-css-jquery.aspx http://www.sohtanaka.com/web-design/examples/drop-down-menu/
    Comment by hardik November 2010 permalink
  • Post to twitter from Wordpress Post type?

    @deane034 go to twitter developer section and read there api, and go to wordpress and read tutorial regarding custom wordpress plugin make one plugin which does what you want using twitter api.
    Comment by hardik November 2010 permalink
  • What's better?

    @DeadCatalyst well if you are site is not heavy and you are gonna little features only then you can use direct code which is of only 2 or 3 lines which will make all your html5 elements display properly. the catch is ie doesn't make them block…
    Comment by hardik November 2010 permalink
  • MagicLine Navigation by Chris Coyier, bug in IE8

    @oolala if i see your site with compability mode using ie8 break button on navigation box it works perfectly. looks like issue is with doctype and standard you have used with document.
    Comment by hardik November 2010 permalink
  • Class variable help

    well you can use var_dump function always to check the status of variable. if it's the object of mysqli then you are on right way or else check the mysqli doc and i would suggest to look at the concept of factory method and singleton method. i…
    Comment by hardik September 2010 permalink
  • Image slider help

    in your code if you look at this lines... if(!window.slider) var slider={};slider.data=[{"id":"slide-img-1","client":"A week in the life of a personal trainer","desc":"Ben Camara"…
    Comment by hardik September 2010 permalink
  • A very basic Mod Rewrite question

    @betzster yep for that this line of code will be required.... rewritebase gallery/
    Comment by hardik September 2010 permalink
  • Image slider help

    remove last 4 slides from slider.data variable.
    Comment by hardik September 2010 permalink
  • How to integrate worpress and phpBB?

    sessions are the key. hint is in phpbb you will have options in admin about setting cookie. rest you can find yourself if you know how sessions work
    Comment by hardik August 2010 permalink
  • A very basic Mod Rewrite question

    RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.php -f RewriteRule ^(.*)$ $1.php put this on your htaccess file. if it's not create one. this will rewrite all short url's to …
    Comment by hardik August 2010 permalink
  • Transitions for the user interface?

    best will be you can ask about reference sites for the effects client wants.
    Comment by hardik August 2010 permalink
  • Transitions for the user interface?

    css transitions or photoshop ?
    Comment by hardik August 2010 permalink
  • [Solved] Give something a random z-index

    first, well i can't understand why random z-index? may be some thing diffrent but you can use php or jquery to give random values to z-index i guess.
    Comment by hardik August 2010 permalink
  • Opinions Please

    well this is my personal opinion, the site looks weird as colors used are definately not suitable to eyes. and it logo color don't blend with site. font's are good but the design does not stand out to blend with most of the things. dark …
    Comment by hardik August 2010 permalink
  • [Solved] What would you consider "Mid-Level PHP Programming Skills"?

    i would say mid level php developer should have a knowledge of html ( atleast div based layouts ) javascript with few frameworks like jquery, prototype css ( css2.1 will be enough but css3 will be ++ ) php ( corephp + many of it's library'…
    Comment by hardik August 2010 permalink
  • Horrible I.E 6 problem, help required.

    it's the way pngfix works. some pngfixes uses 1px tall gif to fix your png background using javascript. and some uses other css techniques. the only technique which works best is using VML. vml offers true transparency even in ie6 but it's…
    Comment by hardik August 2010 permalink
  • OOP LogIn System

    1. well if you are thinking as a pure oop based solution then there will be still an layer of database. i.e database layer which will be talking with database. not your classes. and you can send your query there using that class. or 2. simply writ…
    Comment by hardik August 2010 permalink