sourabhj
Jun 4 2007, 06:23 PM
| | As there are many java script by which we can have event based interaction like,message on mouse over etc,that we can create dynamic menu in javascripts to make navigation bar ,but is it possible in php to have this acomplished without javascripts,i am new to php,is it possible?.
Thanks |
Reply
idk if this is right but cant u use javascript in php? like <script = javascript> or something like that..lemme look it up CODE <script type="text/javascript"> </script> that *should* work...i didnt test it though, but remember java and javascript are different
Reply
sourabhj
Jun 4 2007, 11:16 PM
QUOTE(nol @ Jun 5 2007, 02:21 AM)  idk if this is right but cant u use javascript in php? like <script = javascript> or something like that..lemme look it up CODE <script type="text/javascript"> <script that *should* work...i didnt test it though, but remember java and javascript are different ok but i need to know can i make without javascript does php has event base interaction like javascript,iam new to php so just asking for it as javascript is sometimes very heavy for a webpage
Reply
truefusion
Jun 4 2007, 11:23 PM
PHP cannot do interactions with menus, PHP basically goes as far as making the navigation and its structure whether dynamically or not. If you use CSS with the navigation, then you can have some form of interaction with the navigation: roll-over effects, color effects, etc. Many of the "interactions" done in JavaScript can be done with CSS.
Reply
masugidsk8r
Jun 5 2007, 02:05 AM
Sure you can! If what you mean is can you change the links in the navigation bars? If that is your question then it is possible. The concept you gotta understand here is that you will only use PHP to generate HTML mark-up to produce an HTML list (ul, dl or ol). Then you would have to use CSS to create the roll-over effects and drop-down menus. There would be no need to use Javascript anywhere in this code. If you want a detailed tutorial just say so and I'll post it. Otherwise, I'll leave it at this.
Reply
Azeri_boy
Jun 5 2007, 06:21 PM
PHP is server site scripting language. It is impossible to execute php code in browser. But it is still possible to add some intractivity to navigation. For example by dinamically adding some css property to menu item in server side. If you want I can provide some code.
Reply
iGuest
Jul 12 2008, 06:51 AM
Problem to take select list plz tell me if any one know about the same
Can I Make Dynamic Menu In Php
Hi All, I have some problem to take state select list .I want to do with state select list as when I am using registration form this will take value of state CA for California and when I m going to use view user detail this form is showing CA for California but I want to do show California for the CA so Please tell me if any one know about this problem Thanks Sudhanshu srivastava Ssrivastawa gmail.Com -question by sudhanshu srivastava
Reply
optiplex
Jul 15 2008, 09:49 AM
No, php cant make dynamic menus, but it can make ur html navigation/menu compatible with your dynamic menu javascript script. Because php is a serverside language, as told here, you can make an editable menu script(Ex: Joomla has an option where u can edit your menu) But you cant make it dropdown menu or something, withouth javascript  Good luck! - optiplex
Reply
Similar Topics
Keywords : make, dynamic, menu, php, posible, make, dynamic, menu, php, javascript
- Getting An Array Value Of A Dynamic Variable
(9)
Trap17 Board Status Dynamic Image
(13) I was really board a few days ago and decided to make a trap17 board status image for my sig
/tongue.gif" style="vertical-align:middle" emoid=":P" border="0" alt="tongue.gif" /> That is the
current beta. I'm still working on it so that it might display the most recent post or
somthing, i'm not sure. After I finish it ill give out the source code but if you want one
right now you can pm me and ill set one up to get the info on your account ^.^ So I was wondering
how you members liked it? You'll probably think that its a waist of time, but alas as I sai....
Editing Drop Down Menu In Php
(3) suppose i make a dropdown menu having value 1, 2, 3, 4, 5, one option can be selected, and selected
option is stored in database. now i create an edit page, how do i display the selected value in the
menu and other values in dropdown, for example, Menu is like Select One 1 2 3 4 5 and i select 3,
this 3 is stored in database, now on the edit page i want to show 3 as already selected, something
like that.. QUOTE 1 2 3 4 5 I will be very thankful, if
someone could help by explaining how do i make option 3 as selected.. eg. how i....
More Dynamic ?id=browsing With Php (associative Array)
Just create array and watch php code do the rest (1) The thing that has been bugging me for a while was that switch statement that we use to create ID
browsing (some use If-Ifelse but results are the same for both). I wanted to figure out a way to use
more dynamic switch statement so that i only need to update my links array in order to create links
for template. With use of foreach, array_keys, and in_array functions finally i managed to do so.
Also i'm planing on changing foreach with array_walk but i'll do that later. Now for the
code.. First we create an associative array something like this CODE $gl....
Dynamic Php Pages
Nice tutorial (5) This is a really good tutorial on making php pages that normally appear as
www.domainname.com/links.php appear as www.domainname.com/index.php?page=links
http://nuwen.com/tutorials/php-dynamic-pages ....
Building A Chat Using Javascript, Php, And Ajax
(2) I have heard that you can build a chat for a website that would display the username, etc, using
PHP, Javascript, and AJAX. So Im wondering how this can be done and if there are any tutorials on
how to do it, or tutorials on AJAX. Thank you.....
Dynamic Image / Signature Generator
a simple code to change text on an image (12) In search of dynamically changing quote, saying or all other types of text on an image I came across
a code that I have modified to fit my initial usage. This procedure requires two files and short
knowledge of PHP. If you are familiar with Trap17's sig rotation code you will understand this
procedure very fast. Code 1: dynamic_sig.php (you can rename this to index.php and you'll see
at the end why) Code 2: a simple text file named anything (I will call it name.txt ) Code 1
CODE <?php header("Content-type: image/png"); ....
Dynamic Drop Down List <select>
(3) Hi, What I am trying to achieve is when you have a form drop down menu, it displays all the
categories from the directory, with all the indentations. Something like when you submit your site
to a directory. Now I've got it almost working, but I can figure out how to indent it. The code
below, I've used a spacer gif, but obviously that won't work! I've had a go at
this, as you can see, but that does do the indentations, unless I'm doing something wrong here.
Any help appreciated - thanks. PHP Code: CODE function maketree($root....
Javascript And Php
(6) i am designing a poll in which i use javascript, and i need to pass the selected answer in my poll
to php variables so how can i do that, any help will be appricated....
Javascript To Php - A Few Questions
(1) I am rewriting a Javascript into PHP, but I have two questions: How can I write these functions in
PHP? Math.floor Math.ceil I'm sure the answer is obvious, but I really can't find it...
/laugh.gif' border='0' style='vertical-align:middle' alt='laugh.gif' /> ....
Php Menus Without Javascript
Has PHP possibility to do it without JS (7) I have many PHP Books, PHP Bible among others, but no clear description how to build menus (dynamic)
Javascript like. Is PHP enough strong to do this? I also have Javascript Bible, many possibilities
are usable within PHP pages. Anybody has experience in creating dynamic menus in PHP? ....
Dynamic Included Menus
path specification (8) I am looking for a way to make a dynamic menu using php and include, basicly I want to make a file
that contains html formating source and links and include it somewhere in all my pages, the problem
is that links are taken literaly and refered to as to where the html is running from. So is there a
way I can make a file and include it in my pages, then it will determin where the page is running
from, and generate the links with an approperate amount of ../../'s so if my index is at root,
but every section has it's own folder, I want to be able to include this fil....
Pulldown Menu
get a realiable php pulldown menu script (8) does anyone know where i can get a really good, reliable pulldown php script. one that is cross
browser compatible. you know the drill, mac - pc, bla bla bla. I'm starting a site right now
would like to start it off right. round ....
Php Dynamic News Updating Using Mysql
changing a sites news using MySQL and PHP (3) Hey everyone. It appears to me that everyone really know what they are doing in this forum and im a
pretty new to this PHP and MySQL combo. I know some PHP but not MySQL....I am trying to make a new
website but i want to be able to go to a certain update page and change the news on the main index.
For example: - The main page show news updates of the last 10 post. - I go to the update page
and then fill in the form and it will add this post to the top of the list and still only print the
top 10. I have no clue how to do this with MySQL. At the moment i am doing it u....
Whould I Use Php To Make A Game Like The Army System?
Or javascript? (4) I want to make a game similar to the army system or on Omega Gateway, like a text game. Would I use
php or javascript? I know very little coding, and I plan on learning more before I start doing
anything. I just want to know what to 'study...'....
Calling A Variable From A Dynamic List In A Sql Statement
(2) I would be greatful if anyone could help me out, I have been stuck on this for a while. The problem
is that I have a drop down menu which I get the contents of from a database. Then when I press the
get details button I want to use the value selected in my drop down menu and pass it into an SQL
statement to recieve all te relevent info. Everything works if I specify a known variable, but the
problem seems to be passing a variable in which is part of the array. Below is the code for the drop
down menu and the Sql statement i'm trying to execute. drop down menu: ....
Image/scrolling Menu Correlation
Help.... plz... (0) Hey Guyz... I'm working on re-designing my website, and I need a way to set-up my affiliates
page. I have several (decent looking, not that it matters) images for my possible affiliates to
choose from. I currently have this code in effect... CODE <html> <p
align=center>Two different sized advertisments are currently available for ad-exchanges.
Purchasing advertising is currently unavailable. Here are your ad-choices.<select multiple
name="images" size=5><option>88x31 pixel box<option>120x240 pixel
tower</select....
Looking for make, dynamic, menu, php, posible, make, dynamic, menu, php, javascript
|
|
Searching Video's for make, dynamic, menu, php, posible, make, dynamic, menu, php, javascript
|
advertisement
|
|