Jump to content

dianikol85

Member
  • Posts

    123
  • Joined

  • Last visited

Posts posted by dianikol85

  1. Hi to all. I want your opinion about this.

     

    You think nowdays where i dont think someone has javascript disable we shoud have validation both in php and in javascript?

     

    Is there a security matter by doing php validation?

  2. This is the old school ajax procedure.

     

    That's why the line

    mrAjax.open("GET", "ajax.txt", true); 

     

    is there. I guess it's the routine.

     

    One thing i notice is that in the ajax.js you have

    document.getElementById("myDiv").innerHTML=xmlhttp.responseText;

     

    instead of

    document.getElementById("changeme").innerHTML=xmlhttp.responseText;

    About that alert box I think Ben is right putting it in if(mrAjax.readyState == 4..." section.

     

     

     

    Anyway i would suggest you learn ajax by using a library like jquery. It's so much easier

  3. Hi, i have a link in the php file which i want it to get clicked when the page has been load. I am using jquery. look the code

     

    $(document).ready(function(){
    $("#pdf").trigger('click');
    }); 
    

     

    and this link

     

    
    <a href="http://www.google.com" id="pdf">Google</a>
    

     

    Any suggestions?

  4. Hi to all.

     

    I have a php page with some content in it. Is it possible to export it to pdf. Is it something like the excel prossedure where i just put a couple of headers and it's ok?

  5. Hi to all. This is the situation. I have this piece of hmtl

     

    
    <div id='wrap'>
    
     <div class='image'>
       <img src='images/1.jpg' />
     </div>
    
     <div class='image'>
       <img src='images/2.jpg' />
     </div>
    
     <div class='image'>
       <img src='images/3.jpg' />
     </div>
    
    </div>
    
    

     

     

    what i need is that the height of the div#wrap must has the height of the inner div.image.

     

    I can't give a fixed value to the height because the div.image is going to have different height from time to time. So i need the div#wrap's height to asjust dynamically according to the div.image.

     

    For example:

     

    The images i will display today they all have height:100px;

     

    Tomorrow they will have 200px; and so on.

     

    How i should do it??

     

    Tanks

  6. Hi to all. I recently asked from my boss to create somthing like this: http://www.xo.gr/maps/

     

    At the left you see two text boxes where you put your start point and the estination point and then in the google map it shows you the the road you should follow in order to arrive to your destination.

     

    There are some other options too.Like if you use a regular car or a bus etc.

     

    What knowledge does this project requires and where i should start?

     

    p.s. : The country in the google map is Greece. if you want a example try to type

     

    A) Amaliada

     

    to

     

    B) Athens

     

    Thanks

  7. Hi to the forum!!

     

    Which technique do i have to use in order to achieve a remember me checkbox in the login screen?? I have an idea by saving the ip of the user but many ISPs support dynamic IPs. What is the best practice to do that??

     

    Thanks :D

  8. Thank you Susie. No worries! I'll keep searching... Maybe this is a chance for me to create my first plugin. Who knows...

     

    In the company i currently work, clients with big traffic blogs (especially newspaper blog sites) want the ability to charge a shop some money in order to place a banner with their logo and according a category in specific position within the wp theme.

     

    For example.let's say i run a high traffic blog and within it i have a category called "sports". Then a live shop which sells gymnastic equipment wants to add an advertising banner in the category "sports" because the shop and the category are relative with each other. The same thing if i have a "computer" category then a store which sells computer hardware wants to adds his logo banner in the "computer" category and so on.

     

    I hope the example makes sense. ;)

  9. From inside your dashboard, search for Dynamic Headers by Nicasio Design. Read about it here. It allows you to choose the header image for each page individually.

     

    I'm using it on this site. (Please ignore the horrible-ness of the site...we're still working out a LOT of issues.

     

     

    Thank you Suzie. I'll check it out and will post back!

  10. Hi to all!

     

    So, let's say we have a client who wants to display some products.

     

    We have 3 categories: T-shirts, shorts and shoes. The client requests some banners in relation to the categories. For example if i view the T-shirts category i want to have the X banner, if I view the shoes category i want to have the Y banner and so on. Finally, if I view the home page I want to have the Z banner regardless the categories.

     

    I hope you understand what the problem is.

     

    I can't find a decent plugin for this particular request for wordpress.

     

    Any recommendations?

     

    Thanks

     

    P.S.: These banners are photos or flush content

  11. The only thing I would change is the min-width style on #main_content. It's currently at 700px, but I would make it about 900px

     

    Thank you Ben. That's works. I had the width of #left_content equal to the #main_content, that's why the sidebar dropped into the other column. I just set the min-width 900px as you said. Thanks again!!

     

     

     

    That CSS Navigation tutorial is within CSS > CSS Basics. Downloadable project files are available just below the video links. Hope that helps!

     

    I found the tutorial xD

  12. I think you'll need to post the code and/or link you are working with so we can help you.

     

     

    I uploaded the files here: http://www.easyjquery.gr/df

     

    Try to resize the window or change your resolution to see what will happen. The lang is greek, don't bother...

     

    By the way. Ben i saw some months ago in K.U. you did a two part video tutorial on how to do a horizontal menu but i can't find it now. Is it possible to send me the files somehow??

     

    Thanks!

  13. Hi to all! i have an issue with width.

     

     

    i have a wrapper div and inside it to other divs. The first one is float:left, the second one float:right. I want the whole thing to be full width 100%. The issue is that when resize the browser window the second one fall upon the first one.

     

    I want to accomplish something like wordpress backend which is full width no matter the user's resolution but when you resize the window the divs in it stay put.

     

     

    What is the trick for this one??

     

    Thanks!

×
×
  • Create New...