Jump to content

tushar707

Members
  • Posts

    37
  • Joined

  • Last visited

    Never

Everything posted by tushar707

  1. one last thing. because you split the css from the links, when i do php include will the links know that a css is attached to it? and i can delete "default value" from the div code so it doesn't show up? Lastly, on index.php I have template. can I just save that as php instead of html and everything will flow fine?
  2. so I can type in anything there? anything in html and etc? that is so cool! also can i delete "default value" from "<div id="content" name="content">Default value</div>" one last thing. because you split the css from the links, when i do php include will the links know that a css is attached to it? So it doesn't show up. you are awesome.
  3. thanks a lot for the help! so this will solve both my problems? Also I am a little confused by this "In index.php the div there will contain the pages, you can style it as required. You will also have to upload your files or install PHP locally to test this." Like how do i add the content so it is the only thing that will change when i click on a link. I am sorry if i sound stupid.
  4. well I have not put any links yet. What I wan to do is have a php include for the menu on the index. have it so when the someone clicks on a link, the content is the only that changes (towards the right of the menu). I dont want to whole page to load again. I dont know how to do that so content is the only thing that loads again (Posted the question in the same post). Do you know how to help me with both problems?
  5. no. I dont have the website up yet. so I dont have it online. I am so confused now. :'( I have edited it a little bit:
  6. also can someone help me out with the content thing for javascript posted on top(for content)? I dont know exactly what to change
  7. Here is my menu. thanks for all the help!!! My menu isn't completely done yet, as I have to change the some of the buttons. but I can do that later right?
  8. okay. should I also save my index file as php? and how do I test php pages locally? thanks for the code for the javascript. I will try that immediately.
  9. also one more thing. I will also be doing an include command for the content. Is it possible somehow that when I click a link on my css menu, it just changes the content and I dont have to reload the page? I am new to php. but found the include command online which I see as very very useful. any help will be appreciated a lot.
  10. no they end in .html how do i chance html files into php can I just save them as php files? These are static pages and not connected to server
  11. basically I have a simple css menu based of images in a separate php file. I want to do a php include command on my website. is this possible? I want to do a php include command on the home page and every other page on my website for the menu. I am running a static website. I tried this: <?php include("menu.html"); ?> but nothing shows up.
  12. Hello, i have a CSS menu. I want to do a php include command on every one of my pages on the website. any help on how to do this? Do i need a dynamic site to do this, or is a static site good enough to do php include
×
×
  • 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.