Jump to content
Killersites Forums

dianikol85

Member
  • Posts

    123
  • Joined

  • Last visited

Everything posted by dianikol85

  1. Hi to all!! i just finish a wigdet which is as the title says ajax pagination, tell me if you want to show you a demo Thanks!
  2. i tried fto build an e-shopstore with osCommerse for learning purposes. I spent 2 days to understand how to make changes to look better since it uses classes. But is is a little bit messy coded. It is full featerd e-xommerse also i think it's old stuff. Post back your solution if you want!!
  3. Is it going to be a dynamic site Ben? If yes what are you goin to use? A cms or codeigniter?
  4. Hi, I really like your site, let me ask you that/. what technique did you use for loafing the images at webdesign.php?? really nite effect
  5. I just finish it. So take a look and tell me your opinion if you like i didn't use the .hasClass(), Next time i guess
  6. Hi to all, I am trying to build from scratch an image cross fade slideshow but i stack ... here is my html code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> <script type="text/javascript" src="gallery.js"></script> <style type="text/css"> #wrapper { width: 800px; height: 600px; margin: 0 auto; position: relative; } #wrapper .images{ position: absolute } </style> </head> <body> <div id="wrapper"> <div class="images" style="width:600px; height:400px;"> <img src="image1.jpg" /> </div> <div class="images" style="width:600px; height:400px;"> <img src="image2.jpg" /> </div> <div class="images" style="width:600px; height:400px;"> <img src="image3.jpg" /> </div> </div> </body> </html> and here my jquery code gallery.js $(document).ready(function() { var counter = $("#wrapper div.images").length; $("#wrapper .images:first").addClass('first'); $("#wrapper .images:last").addClass('last'); $("#wrapper .images:not(:first)").hide(); cur = $("#wrapper .images:first"); setInterval('Forward()',3000); }); function Forward() { cur.fadeOut( 700 ); if ( cur.hasClass('class') == "last" ) cur = $("#wrapper .images:first"); else cur = cur.next(); cur.fadeIn( 700 ); } i add in the first div a class named "first" and in the last one a class named "last". So I check if the current div has a class "last" ake the cur variable point to the div with the class "first" in order to succed the slideshow effect. I will add buttos and stuff later... I use the .hasClass() jquery function ofcourse to check the current class but it seems something is wrong, Any advices?? Thanks nurds
  7. yes the top menu buttons is not very pretty indead. i had it in mind to change them. The slideshow is foe advertising purposes that;s why i had it in every page. thank you newseed
  8. Hi to all. I wanted your opinion about a web site i almost finish which is powered by wordpress. The domain is not the right one i use one for testin reasons So,any syggestions? http://easyjquery.gr/wordpress/ thank you in advance
  9. 1) I use the counter just to have an order to the table. No other reason. 2)Disabling the buttons during Ajax is a nice one. 3) All the insertions are instantly. So it feels like awindows app.
  10. ok i'll prepare an example and i will post it to see.
  11. Tell me if i didn't clear enough to explain more . My english aren't very well.....
  12. Did you solve it Ben? i just look the example and the nav on the right do as you want
  13. Hi to all. I want your opinion about a jquery practice So here is the thing I have a database and one table lets call it test_table and it has three fields : id, lastName, firstName. In the index.php ilets say we create a table | id | First Name | Last name | +/- and three button: 1) Add new row 2) Save the row 3) Update the row So far so good. When i click the "Add new row" button via jquery we create a new row at the end of the table with 4 fields which contain a counter for the Id, two text inputs for the names and the last one contans two buttons the "Save the row" and the "Update the row". When the rows has been added i hide the "Update the row" button. So i fill the text inputs with data and then i click "Save the row" and with ajax i insert the data in the database. so when the insert action has completed i hide th e "Save the row" button and show the "Update the row" button. In order to do the update for this particular row when i did the insert i echo back the max id of the table and save it in a hidden input somewhere in the added row so i can access it with $(this). This process can be repeated for every new row when i click the Add button. What do you think about this technique. Do you suggest something more efficient than that? i would be very happy if you have a better solution although mine works very well i think. Thank you in advance and looking forward for your replies
  14. Thank you a lot Ben. I'll post if i have bad time with ci!! Bytheway the user guide rocks. well presented and little cool examples about everything!!!
  15. Oh dont worry guys. It was just an example just to show things that cms like wordpress can't do. I guess nobody risk a web site like that without being well known of the framework that is going to be use. I am a starter so i'll do simple things until i get better...
  16. i see, anyway i wanted to learn some framework, i am between cakePHP and CodeIgniter. i read that cakePHP have a lot of ready functionality but it hides you how the things work while CodeIgniter gives you this knowledge. I guess that depends on me, Anyway do you have any good video tuts of CodeIgniter to suggest me? i am a beginning with framewoks
  17. then let's say there aren't out there something for handle hotels. (i 'll use the same example) So i have to do something by myself. So a php framework (CakePHP, CodeIgniter, etc) is the next step to build my own cms-like for this particular project using its ready fuctionality. Otherwise i can't do much to get the web app done i guess.
  18. hi to all!! So, this is my question. I use wordpress as cms for my web projects. so far so good, no problem at all!! But apparently we cant do all the kind of sites with wordpress. For example, let's say we want to buld a site about hotel booκing room (online of course) and what hotels are near by to choose from. In other words, a web site that advertise hotels using images etc and room booking system.So I do need a database and an administrator tool to manage hotels and what rooms are available in which hotel and stuff like that. What's your opinion about that and what do you suggest someone to do in a situation like this one. Do i need to use cakePHP or zend framework for example? Thank you in advance.
  19. Thank you both. I'll check them !!!
  20. Hi to all! As the topic title says i want to have more than one language in my wp website. I tried xLanguage and qTranslate but have some issues. Do you know any other good plugin to get the job done? thanks!!
  21. It's ok now. it just needed a little bit of change in the main function. Falk has right though
  22. With that code it works. I didn't check the documentation.... I expected that when you write a tut it must work before publish it... Thank you very much. I appriciate your help
  23. i believe that it is a wordpress error. i just did the very basic just to add a link to settings section in wp-admin. The steps i did are the following: 1) in wp-content/plugins i created a new folder called myPlugin 2) then in that folder i create the myPlugin.php file and within it the appropriate infos in order wordpress see this as a plugin . I copied that info so these are ok then i add this piece of code function myFunc() { add_options_page("my plugin", "my plugin", 1, "my plugin", "myFunc"); } add_action('admin_menu', 'myFunc'); so under Settings i have a link called "my plugin" as excpected . So i click on this link and here it is .the error appears
×
×
  • Create New...