Jump to content

amitamberker

Members
  • Posts

    599
  • Joined

  • Last visited

Posts posted by amitamberker

  1. Do you mean a new window, as opposed to a new tab?
    Hi Ingolme,Anything is fine. But it's not working. Please download the files and rename that "jquery.imageWarp - Copy.txt" file as "jquery.imageWarp.js" and then Click that Image on "Text.html" file. I think I have done something wrong. Maybe something needs to be added in .js file. Request you to please check the files.
  2. Please post only the relevant part of your code. Forum members are unlikely to want to bother downloading your files. Isn't it really just one line of code? Why don't you just give an example?
    Hi So Called,Forum did not allow me to Paste the JS Code. No No... It's not just one line of code. The code is big.
  3. Hello EveryOne, 1. Please find the attached "Test.html" and "jquery.imageWarp - Copy.txt" files.2. Please ReName the "jquery.imageWarp - Copy.txt" file as "jquery.imageWarp.js" (Because, this Forum did not allow me to attach .js files)So, how do make that target="_blank" from Test.html file open in New Browser? Do I need to add something in my "jquery.imageWarp.js" file?

  4. Thank you everyone!Thanks for your suggestion and help! My codes are working well now! Cheers! :)
    Hi jiyeonnie,That's Great :) Congratulations! I am happy for you. Could you please show me your link? I would like to see it :) By the way I request you to please read the following Thread Carefully and share your Thoughts, Comments, Feedback and Willingness.http://w3schools.invisionzone.com/index.php?showtopic=43240I hope you received my Private Message?
  5. Hi Joe (aka) JRoberto, Greetings to you Mate! Did you follow as per dsonesuk's recommendation? dsonesuk is an AWESOME and Genius Person. He has helped me several times in the past. Unfortunately due to some MisUnderstandings we cracked-up with each other though I have no idea why is he avoiding me. Perhaps he felt, I was annoying him a lot but I was not. I was trying to FOLLOW-UP with him. Anyways... Please follow what-ever dsonesuk says and you would be Good to go. By the way, if I hover (Roll Over) on your "Campaign" menu, a drop down does not appear. I am using IE Browser on Windows 7 OS.

  6. The code looks fine. When you are looking at your page in the browser the URL needs to start with HTTP, not "file://" or anything else. You need to have your page on a web server that supports PHP and navigate to that URL like you would to any other page.
    Hi justsomeguy, Thank you for saying that code looks fine (I am glad to know about it). So, you mean: Instead of this:
    E:\Calling-Footer-Into-Several-Files\SeveralPages.html
    It should be like this?
    By the way I have Uploaded into my Domain which supports PHP but still it's not displaying properly? Hi thescientist, Please WAIT. Please don't reply. Please do not confuse me. I am waiting for justsomeguy's reply. (no, I am not being rude with you.)
  7. it wasn't moved. If it had been, you would still see it in the HTML/XHTML forum with an arrow next to the title. Although, it probably could be moved to the HTML/XHTML forum.
    Hi thescientist,Thanks for your clarification. By the way I am just wondering if I did this post in General" segment or "HTML/XHTML" segment. I think this post should be in "HTML/XHTML" segment. So, how do I move it to "HTML/XHTML" segment? I have never moved My Threads (postings) from One Segment to Another Segment. I have no idea how to do it. I thought perhaps justsomeguy would have moved it from "HTML/XHTML" segment to General" segment. Maybe I might be wrong... So, how do I move it now?
  8. The code looks fine. When you are looking at your page in the browser the URL needs to start with HTTP, not "file://" or anything else. You need to have your page on a web server that supports PHP and navigate to that URL like you would to any other page.
    Hi justsomeguy, Thank you for saying that code looks fine (I am glad to know about it). So, you mean: Instead of this:
    E:\Calling-Footer-Into-Several-Files\SeveralPages.html
    It should be like this?
    By the way I have Uploaded into my Domain which supports PHP but still it's not displaying properly?
  9. Make sure you're accessing the files via HTTP, PHP will not run if you're not accessing the files through a web server. You can't just double-click on a file and have PHP code get executed. If that "severalpages.html" is your complete code, you're missing the doctype and opening tags. You also need to rename that to a .html file, your server is probably not configured to use PHP to process .html files, only .php files. Your include file can be a .html file, because there's no PHP code in it, but for the sake of future maintainability it's probably best to use all .php files.
    Hi justsomeguy, Feeling very hard to understand what you are saying. But please find the attached "footer.php" and "SeveralPages.html" files. Please let me know where am I going wrong and what should I do.So, how should I make sure I am accessing the files via HTTP?
  10. It's an attribute. The alt attribute still works, it is still the text to show if the image isn't displayed. That's always been the purpose of it. The title attribute is the text to show when you hover over the image. IE used to show the alt text when you hover, which wasn't the purpose of it.
    Hi justsomeguy, Oh! Okie... Okie... Thanks a lot for the clarification. I understood now. So, should I use alt and title attributes in all the img tags? By the way img is referred as tag or element?
  11. Hi justsomeguy, Alrighty, here I go: footer.php

    <div>blah... blah... blah... © 2003 - 2012. | All rights reserved</div>
    SeveralPages.html
    <style type="text/css">body { margin-top: 0px; text-align: center;}#Container { width: 800px;}.Header { height: 80px; background-color: Red;}.Body { height: 200px; background-color: Green;}.footer { width: 800px; height: 30px; text-align: center; font-family: verdana; font-size: 8pt; line-height: 30px; background-color: #CACACA; }</style></head><body><div id="Container"><div class="Header">...</div><div class="Body">...</div><div class="footer"><?php include 'footer.php'; ?></div></div>
    1. Somehow "blah... blah... blah... © 2003 - 2012. | All rights reserved" is not visible?2. Upon publishing on IE Web Browser, the whole Container (Design) is moving towards Left Side?
  12. Look at the link to the tutorial. You don't need any PHP code in the file to include, you're just using PHP's include mechanism to include the code, which is a single PHP statement in the parent file. You also don't want extra </head> or <body> tags in the code to include. All of the CSS information should also probably be in the parent page in the head section where it belongs, or in an external CSS file.
    Hi justsomeguy, Okie, let me try that... Thanks!
  13. First, your file to include should not be a complete HTML document, it should only contain the code that you want to insert in your other files. You can use PHP's include or require statements to include the code from the other file wherever you want it to in your main file. http://www.w3schools...hp_includes.asp
    Hi justsomeguy,Hope all is well at your end. Thanks for your response.As you are aware, I don't know PHP. I mean, I cannot design Footer Concept in ".php" based file.I am not sure how to add the following into a .php file:
    <style type="text/css">body {margin-top: 0px;text-align: center;}.footer {width: 800px;height: 30px;text-align: center;font-family: verdana;font-size: 8pt;line-height: 30px;background-color: #CACACA;}< /style>< /head>< body>< div class="footer">blah... blah... blah... © 2003 - 2012. | All rights reserved</div>
  14. Hello Everyone,Any idea why alt="..." tag is not working anymore? Maybe HTML 5 does not need alt tag anymore? Should I consider using title="..." tag?

    <img src="http://4.bp.blogspot.com/--H2CoC1Kbdw/T7PUPBFjYdI/AAAAAAAAAB4/HMU4gyl3exo/s1600/W3SchoolsLogo.png" alt="WHY ALT TAG IS NOT WORKING ANYMORE?" title="THIS WORKS PERFECT!" />
    By the way:1. alt and title should be referred as Element or Tag? - (I think tag)2. img should be referred as Element or Tag? - (I think element)
  15. Hello Everyone, How do I call "Footer" from Single File to Several Files? footer.html

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR...ransitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>Footer</title><style type="text/css">body { margin-top: 0px; text-align: center;}.footer { width: 800px; height: 30px; text-align: center; font-family: verdana; font-size: 8pt; line-height: 30px; background-color: #CACACA;}</style></head><body><div class="footer">blah... blah... blah... © 2003 - 2012. | All rights reserved</div></body></html>
    SeveralPages.html
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR...ransitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>SeveralPages</title><style type="text/css">body { margin-top: 0px; text-align: center;}#Container { width: 800px;}.Header { height: 80px; background-color: Red;}.Body { height: 200px; background-color: Green;}</style></head><body><div id="Container"><div class="Header">...</div><div class="Body">...</div><div style="height:30px;line-height:30px">So, how do I call "footer.html" page here?</div></div></body></html>
×
×
  • Create New...