Jump to content

RichardRotterdam

Members
  • Posts

    1,509
  • Joined

  • Last visited

Everything posted by RichardRotterdam

  1. that does work. this works fine with me <script> var phpVar="<?php echo($phpVar);?>"; </script> why not paste your js in your head? otherwise you could use ajax to get the php var
  2. Just post the HTML code thats way easier to understand then explaining it in words. The thing with the dreamweaver generated code is that i can create some bad code I think that is what happened rather then firefox screwing up. Thats why I build my HTML layouts by writing the code myself
  3. you could use a iframe or frame to put a site in it and then read the iframe on the mainpage with javascript
  4. I kinda hate the browser restriction thing for sites that demand IE i use user agent switcher for firefox to decieve these sites
  5. there are 2 options 1. select all database records and put them in javascript arrays or variables 2. use Ajax
  6. Hmm i believe that the costumization only works for IE though so i wouldn't use it anyway I say screw IE
  7. You want a button the dynamically appears on your html page without refreshing am i correct? you should google for javascript DOM and especially the function getElementById().innerHTML function
  8. Weird I think it is possible to have both vb scripts as javascripts running if I am correct you can even call a vb function with javascript. Do you get a error message? And is converting the VB to javascript an option?
  9. you run a database without a server 0.o ?
  10. For that I noticed some td elements you styled using css like: <td width="100%" height="7" style="background: url(Images/linetopbottom.jpg) repeat-x;"> while the corners you just place a image tag inside <td width="7" height="8" > <img border="0" src="Images/toprightcorner.jpg"> </td> Just style it all using CSS that should solve the spacing problem
  11. yeah your right guess thats what you get for using too much tables try to remove the footer table and place the following code instead <table cellpadding="0" cellspacing="0" border="0" align="center" style="font-size: 11px; background: url(Images/footerbackground.gif) bottom repeat-x;" valign="top" width="100%" height="53"> <tr> <td height="100%" width="100%" border="0"> <style> #footer_left{ background: url('Images/footeranime.gif'); width:400px; height:194px; float:left; } #footer_right{ width:400px; height:194px; float:left; } #copyright{ margin-top:100px; } </style> <div> <div id="footer_left"> </div> <div id="footer_right"> <div id="copyright"> <a href="termsofuse.html" target="_blank"> Terms of Use</a> - <a href="privacypolicy.html" target="_blank">Privacy Policy </a> -- Copyright Anime Blog Site © 2007 <div> </div> </div> </td> </tr> </table>
  12. Uhm hmmmm, The problem is echo $test; why just not remove it then so you dont have the error. Or do you want echo $test; to do something with the class?
  13. Well you need to do a couple of things. 1)you will need to set up the the correct tables for you database. 2)you will need the correct sql querries to retrieve the data(I recommend mysql or postgress for your database because ms acces is just terrible) 3)create your php code that will show your data in HTML. if you allready have some of this post your code so others can help you out
  14. I have a little example that can help you out be sure to give the "id" attibute to your image tag <style> #footer_image{ /*this what firefox will do*/ margin-top:100px!important; /*this is what IE will do*/ margin-top:10px; } </style> <img id="footer_image" src="http://www.topgamingteam.net/Images/footeranime.gif" />
  15. moo or prototype can make javascripting easier if you take time to understand these frameworks but I am pretty sure you can solve it without using one of them
  16. what usually helps is put a random number behind the url you are requesting this prevents a page from being cached
  17. hi try this function to get the variable in the url function getQueryVariable(variable) { var query = window.location.search.substring(1); var vars = query.split("&"); for (var i=0;i<vars.length;i++) { var pair = vars[i].split("="); if (pair[0] == variable) { return pair[1]; } } }
  18. in your $findTop5 query try to use a right join while preforming a select on both highscores and members2. a natural join might work good to not sure though
  19. I see you use mysql. you could use the LIMIT function in mysql look up some info on that
  20. you could try to use the absolute in css #add{ position:absolute; } or just create a good template with space for your add
  21. I marked what you did wrong in red <input type=image img src=images/Delete.png> <onclick="DeleteMessage(<?php echo $intID ?>)"> I suggest next time you check your browsers source so you will see how it is generated without php code and btw what is the use of using an input if you are using an image seems pretty useless the second option seems more correct
  22. How do you need help with it? The documentation worked fine with me.
  23. it all depends on what the javascript is supose to do. Mostly i place it in the head. But if the javascript call needs to be done on a certain html section that is located on the bottom you can place it lower.
  24. Could you just send the code as it is shown as source in the browser php code wont help you much but source code as it appears in the client will
  25. with plain html you won't accomplish much you will need javascript to do this
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.