Posts tagged as ' XHTML/CSS ' ...

28 Nov 2009 @ 3:17 PM 

Hello

In this post I will elaborate and add more functionality to a previous post of mine found here here. Basically i have added more functionality to the page, such as left / right key navigation, number key functionality, enter/escape key functionality, and of course the entire suite of conditions needed so the code works properly.

I have tried to build each functionality as a module, which you can add and remove, however in order to have the search function work well with the tab functionality and switching, then some interdependence was needed.

the XHTML

The XHTML is not different from the last version, the only thing different is a few bits and pieces of additions, and more importantly a couple of new lists so we can have a tab functionality. Other than that, there were no major changes.

the CSS

As with the first version this CSS is very basic however you can style it as you wish, probably in the future i may add some nicer styles to the project but for now, since it’s just a tutorial thingy, i think what we have is quite enough.

the JS

The JS suffered major changes, (of course right, we’re building a JS application here). It is kinda hard to explain everything in the post, but all the lines (almost all the lines) are heavily commented within the JS file itself, so please refer to that file for exact instructions and explanations.

The files can also be found online Here and a zip file can be downloaded from here

In part 3 of the series i will try to enlarge the search possiblity to include more than 1 letter

Tags

Tags: , ,

Categories: jQuery, XHTML/CSS

Posted By: Dinulescu Alexandru Adrian

Last Edit: 08 Jan 2010 @ 09:10 PM

EmailPermalinkComments (0)

24 Nov 2009 @ 1:27 AM 

Hello this post is the one of the things i have stumbled upon today

I was working on a project and i was requested to do something ala Gmail shortcuts, aka you press a specific button and something happens, well, first off i looked on the web to see if there is any information, which of course it’s not at least from what i looked so i had to build it myself

First off we’ll start with a basic XHTML, containing an un-ordered list, styled a bit, the real secret is the JS itself, you can style the xhtml/css as you want, it doesnt really matter. To save space i’ll upload the complete final files at the end of this post, with instructions and comented css/xhtml/jquery

+ Continue Reading This Article

Tags

Tags: , ,

Categories: jQuery, XHTML/CSS

Posted By: Dinulescu Alexandru Adrian

Last Edit: 08 Jan 2010 @ 08:55 PM

EmailPermalinkComments (1)

14 Nov 2009 @ 3:34 AM 

Hello

I just found out something very very interesting when i was working on a project. Basically it required me to put a div inside a a tag and that div also had some links. I managed to do that however the code is not valid. Will post source code with examples and explanations tomorrow.

Okay so basically what I was trying to create was something like this (simplified for good reasons)

My version also had a hover JS element over the entire box, so when the user hovers over it, it gets highlighted. So far nothing went bad, everything fits together nicely

<div class="box">
      <img src="./image/stuff.png" alt="" height="200px" width="200px" />
      <p> <a href="#"> Link 1 </a> <a href="#"> Link 2 </a> </p>
</div>

+ Continue Reading This Article

Tags

Tags: , ,

Categories: jQuery, XHTML/CSS

Posted By: Dinulescu Alexandru Adrian

Last Edit: 08 Jan 2010 @ 08:34 PM

EmailPermalinkComments (1)

16 Aug 2009 @ 5:11 PM 

Hello

Sometimes you may have a webpage and some pop-ups on it, they have position: fixed; and styled with JS to appear in the center of the page. (I am not talking about IE6 here, this doesnt work in IE6 at all). for some ex

<div class="popup">

</div>
<div>
<p> Lots of Content Goes here Lots of Content Goes here Lots of Content Goes here </p>
<p><a href="#"> Trigger </a></p>
</div>

+ Continue Reading This Article

Tags

Tags: ,

Categories: XHTML/CSS

Posted By: Dinulescu Alexandru Adrian

Last Edit: 07 Jan 2010 @ 11:38 PM

EmailPermalinkComments (0)

04 Jun 2009 @ 5:02 PM 

Hello again

Did you know that IE6(and only IE6, IE7+ doesnt have this issue) has a weird UL/OL bug ?

If not read on

Lets say you want to make a vertical list of items that are linkedable like this

<ul>
<li><a href="#">Item 1</a></li>
<li><a href="#">Item 2</a></li>
<li><a href="#">Item 3</a></li>
<li><a href="#">Item 4</a></li>
</ul>

+ Continue Reading This Article

Tags

Tags: , ,

Categories: IE6 Bugs, XHTML/CSS

Posted By: Dinulescu Alexandru Adrian

Last Edit: 07 Jan 2010 @ 11:33 PM

EmailPermalinkComments (1)