
Use Javascript or not?
I have used javascript in the navigation menu and I also have a smooth gallery with javascript. It opens fine in firefox but when i open it in IE it wont let the script run and gives a warning. The menu wont work and the photo gallery is broken. Unless the user tells the browser to run the script.
I have seen sites where javascript or PHP is used but this doesnt happen. What should i do to avoid this problem?
If you are opening the web page with javascipt in IE when the page is on your computer, you will always get this message about having to allow the blocked content.
Whereas, if the web page is stored on a server and you are accessing it through the internet, then you will not get this problem (as long as you have javascript enabled).
It appears to be just a security thing with IE when the page is on your computer and not the internet. I would not worry about it too much, if it only happens when the web page is on your computer and you are testing it before putting it on the internet.

|
Hiphop for PHP
$78.07
High Quality Content by WIKIPEDIA articles HipHop for PHP is a source code transformer for PHP script code. HipHop programmatically transforms PHP source code into highly optimized C++ and then uses g++ to compile it to machine code. HipHop includes a code transformer, a reimplementation of PHPs runtime system, and a rewrite of many common PHP Extensions to take advantage of these performance optimizations. HipHop was created by Facebook to save resources on their servers. It is being distributed with its over 300,000 lines of source code written in C++ and C as free software under the terms of version 3.01 of the PHP License. Author: Surhone, Lambert M./ Timpledon, Miriam T./ Marseken, Susan F. Binding Type: Paperback Number of Pages: 120 Publication Date: 2010/07/12 Language: English Dimensions: 6.00 x 9.00 x 0.28 inches
|

|
PHP Cheatsheet for Beginners
$26.73
PHP is a serverside scripting language that is gaining popularity for creating dynamic web pages. It is easy to use, crossplatform, and most importantly, open source. PHP is widely used together with Apache and MySQL database. PHP Cheatsheet for Beginners presents a collection of basic PHP scripts, ranging from the simple task of passing variables between HTML pages, processing forms and working with MySQL database, to somewhat more complex tasks such as creating your own calendar, sending a multipart email, making a bilingual form and more. Every script can be run on its own, so you can quickly try it and see how it works. It is packed with detailed explanations for each script, to help you understand why they work.Aimed at those who have some background in another programming language, PHP Cheatsheet for Beginners sticks to the basics so that you will have a solid base from which to try more complex tasks. The examples and the explanations will equip you with all the tools you need to begin using PHP and start creating a dynamic website. Author: Megosinarso, Riwanto Binding Type: Paperback Number of Pages: 160 Publication Date: 2005/05/19 Language: English Dimensions: 9.00 x 6.00 x 0.37 inches
|

|
Php Solutions By Powers, David
$37.23
Provides information on creating Web sites using PHP, covering such topics as working with PHP scripts, uploading files, setting up MySQL, creating an online gallery, and managing content. Author: Powers, David Series Title: Solutions Subtitle: Dynamic Web Design Made Easy Publication Date: 2006/11/20 Number of Pages: 468 Binding Type: Paperback Language: English Depth: 1.00 Width: 7.50 Height: 8.75
|

|
PHP Programming Solutions
$49.99
Find real-world solutions to PHP programming problems. Simplify and shorten the PHP application development cycle using the in-depth information contained in this hands-on guide. PHP Programming Solutions clearly lays out more than 250 programming challenges alongside practical solutions, functioning code, detailed explanations, and usage tips. Inside, you'll learn to manipulate strings and arrays, work with HTML and Web pages, accept and validate user input, parse XML code, and resolve programming problems using PEAR and PECL widgets and extensions. Plus, you'll get detailed coverage of PHP security issues, SQL database interaction, debugging techniques, and error processing.: Work with numbers, strings, dates, times, files, and directories; Build complex data structures using PHP's array manipulation API; Use functions and classes to build modular, reusable code Create, update, and cache HTML documents and Web content; Obtain and process user input submitted via online forms; Protect, log, and debug PHP script actions; Authenticate and track users with sessions and cookies; Traverse, validate, and transform XML documents; Store and retrieve data from MySQL, PostgreSQL, and Oracle databases; Interface with different server types, network protocols, and file formats; Perform efficient exception handling and error processing.
|

|
Beginning PHP 5.3
$39.99
This book is intended for anyone starting out with PHP programming. If you’ve previously worked in another programming language such as Java, C#, or Perl, you’ll probably pick up the concepts in the earlier chapters quickly; however, the book assumes no prior experience of programming or of building Web applications. That said, because PHP is primarily a Web technology, it will help if you have at least some knowledge of other Web technologies, particularly HTML and CSS. Many Web applications make use of a database to store data, and this book contains three chapters on working with MySQL databases. Once again, if you’re already familiar with databases in general — and MySQL in particular — you’ll be able to fly through these chapters. However, even if you’ve never touched a database before in your life, you should still be able to pick up a working knowledge by reading through these chapters. What This Book Covers This book gives you a broad understanding of the PHP language and its associated technologies. You explore a wide range of topics, including: installing a copy of the PHP engine on Ubuntu Linux, Windows, and Mac OS X; other ways you can install or use PHP; how to write a simple PHP script. basic PHP language concepts. variables, data types, operators, expressions, and constants. how to change the flow of your scripts by creating decisions and loops. if , else , and switch statements; the ternary operator; and the do , while , for , break , and continue statements. how to nest loops, and how to mix decisions and looping with blocks of HTML. PHP’s handling of strings, or sequences of characters; how to create strings; how to retrieve characters from a string; and how to manipulate strings with functions such as strlen() , substr() , strstr() , strpos() , str_replace() , and printf() , to name but a few. arrays — variables that can hold multiple values. You learn the difference between indexed and associative arrays, and find out how to create arrays and access their individual elements; array manipulation, including functions such as print_r() , array_slice() , count() , sort() , array_merge() , and list() . You also learn how to create foreach loops, as well as how to work with multidimensional arrays. functions — blocks of code that you can use again and again. You look at how to call built-in functions, and how to work with variable functions. You also study how to create your own functions, including defining parameters, returning values, understanding scope, and using anonymous functions. Other function-related topics such as references and recursion are also explored. object-oriented programming. You look at the advantages of an object-oriented approach, and learn how to build classes, properties, and methods, and how to create and use objects. You also explore more advanced topics such as overloading, inheritan
|
Is there an alternative code other than Javascript to achieve this effect?
I have been looking for the right kind of script for my photo gallery and I found it here:
http://dynamicdrive.com/dynamicindex4/thumbnail2.htm
It is javascript, but many people have that disabled, so is there an alternate coding to achieve this type of effect so that most users will be able to view the gallery correctly?
I’m not a webmaster so if I’m a little off in my questioning hopefully you still get what I’m trying to ask.
Nope. There are some CSS ones, but not as effective or smooth as JavaScript or JQuery. Might look through the galleries here:
http://www.stunicholls.com/gallery/index.html
Ron

|
JavaScript: The Missing Manual
$31.99
JavaScript is an essential language for creating modern, interactive websites, but its complex rules challenge even the most experienced web designers. With JavaScript: The Missing Manual , you’ll quickly learn how to use JavaScript in sophisticated ways — without pain or frustration — even if you have little or no programming experience. JavaScript expert David McFarland first teaches you the basics by having you build a simple program. Then you’ll learn how to work with jQuery, a popular library of pre-built JavaScript components that’s free and easy to use. With jQuery, you can quickly build modern, interactive web pages — without having to script everything from scratch! Learn how to add scripts to a web page, store and manipulate information, communicate with the browser window, respond to events like mouse clicks and form submissions, and identify and modify HTML Get real-world examples of JavaScript in action Learn to build pop-up navigation bars, enhance HTML tables, create an interactive photo gallery, and make web forms more usable Create interesting user interfaces with tabbed panels, accordion panels, and pop-up dialog boxes Learn to avoid the ten most common errors new programmers make, and how to find and fix bugs Use JavaScript with Ajax to communicate with a server so that your web pages can receive information without having to reload
|

|
JavaScript by Example
$46.99
The World’s Easiest Java Script Tutorial Fully Updated! JavaScript by Example, …
|

|
JavaScript Bible
$49.99
The bestselling JavaScript reference, now updated to reflect changes in technology and best practices As the most comprehensive book on the market, the JavaScript Bible is a classic bestseller that keeps you up to date on the latest changes in JavaScript, the leading technology for incorporating interactivity into Web pages. Part tutorial, part reference, this book serves as both a learning tool for building new JavaScript skills as well as a detailed reference for the more experienced JavaScript user. You’ll get up-to-date coverage on the latest JavaScript practices that have been implemented since the previous edition, as well as the most updated code listings that reflect new concepts. Plus, you’ll learn how to apply the latest JavaScript exception handling and custom object techniques. Coverage includes: JavaScript’s Role in the World Wide Web and Beyond Developing a Scripting Strategy Selecting and Using Your Tools JavaScript Essentials Your First JavaScript Script Browser and Document Objects Scripts and HTML Documents Programming Fundamentals Window and Document Objects Forms and Form Elements Strings, Math, and Dates Scripting Frames and Multiple Windows Images and Dynamic HTML The String Object The Math, Number, and Boolean Objects The Date Object The Array Object JSON – Native JavaScript Object Notation E4X – Native XML Processing Control Structures and Exception Handling JavaScript Operators Function Objects and Custom Objects Global Functions and Statements Document Object Model Essentials Generic HTML Element Objects Window and Frame Objects Location and History Objects Document and Body Objects Link and Anchor Objects Image, Area, Map, and Canvas Objects Event Objects Practical examples of working code round out this new edition and contribute to helping you learn JavaScript quickly yet thoroughly.
|

|
Beginning JavaScript
$39.99
What is this book about? JavaScript is the preferred programming language for Web page applications, letting you enhance your sites with interactive, dynamic, and personalized pages. This fully updated guide shows you how to take advantage of JavaScript’s client-side scripting techniques for the newest versions of Netscape and Internet Explorer, even if you’ve never programmed before. You begin with basic syntax and learn about data types and how to structure code for decision-making. Then you learn to use dates, strings, and other basic objects of JavaScript. Next, you see how to use JavaScript to manipulate objects provided by the browser, such as forms and windows. From there, you move into advanced topics like using cookies and dynamic HTML. After you have a solid foundation, you explore dynamic generation of Web content using server-side scripting and back-end databases. And you practice what you learn by building a sample application as you go. What does this book cover? Here are some of the things you’ll find in this book: What types of data are used in JavaScript How to identify and correct flaws in your code Techniques for programming the browser How to use Microsoft Script Debugger and Netscape Script Debugger Ways to manage cross-browser issues How JavaScript interacts with XML and HTML Who is this book for? This book is for anyone who wants to learn JavaScript programming. You should have some understanding of HTML and how to create static Web pages, but no prior programming experience is necessary.
|