Jump to content

aviatorisu

Members
  • Posts

    31
  • Joined

  • Last visited

    Never

Everything posted by aviatorisu

  1. Okay, I'm not sure I am still being clear, I hate when that happens, lol.  Please proceed to the following site for the example of what I am talking about: [url=http://www.aviationhistoryonline.com]http://www.aviationhistoryonline.com[/url] Now, when this homepage loads, you will see where the IFRAME is.  Click on the AIRCRAFT button to the left.  This will load a welcome page into the IFRAME with a link at the button.  Click the 'search' link to load a form into the IFRAME, and run a quick search.  This has now reloaded the entire page, and is now displaying all the results from the search.  Now, is it possible to have a link on this results page that will take you back to the home page, but with the search form loaded into the IFRAME? ~Z~
  2. Okay, perhaps a layout description would help. 1) The user starts on the home page, which has an IFRAME within it. 2) The user can make click a link which will change the page within the IFRAME, welcoming him to the section. 3) The new page within the IFRAME has a link within it that opens a search form within the IFRAME. 4) When the search is run, the PARENT becomes the target and the whole page changes to display results. The question is, I would like to know if it is possible to place a link on the results page in step 4 to take the user to where he already is in step 3.  Does that make more sense? Thanks, ~Z~
  3. Not so much change the default source...think of it this way: I have a menu bar that, ideally, I'd like to be able to reload the homepage, but to a specific frame that perhaps the user has already visited.  It's such a pain for them to have to go through 1 or 2 other frames to get back to the one they were using previously.  Does that make more sense?  I guess simplified, is there a way to directly target (through the use of a link) a frame that perhaps would take 1 or 2 steps to navigate to normally? ~Z~
  4. I'm not quite sure how to ask this, but I'll give it my best. Located on the front page of my homepage is an IFRAME.  When the page initally loads up, it displays a default page welcoming people.  Based on what button a user selects, a new section page is generated within the IFRAME.  Is there a way to load the page (through a link for example) to force the home page to load with one of the section pages instead of the default welcome?  This way, users can go directly to the start of one section without having to read the welcome over and over again. Thanks, ~Z~
  5. Just the part that switches the color.  I get everything else, just a little fuzzy about why it does that. ~Z~
  6. To be honest, I still don't fully understand WHY this works, but I will give it thought still.  Thank you very much to everyone for their help. ~Z~
  7. [quote author=radalin link=topic=107421.msg431017#msg431017 date=1157764190] you should check css by the way [/quote] Tell me about it...I've thumbed through it, but thought it more important to pick up more PHP and SQL first.  From what I've picked up so far, it does look helpful. Where does the rest of the stuff go?! Thanks, ~Z~
  8. Okay...still kinda getting it. If my code looks like this: [code]<?php $c = @$_GET['c'] ; $a = @$_GET['a'] ; $db = MYSQL_CONNECT();     mysql_select_db();     $query = "select * from aircraft_specs where (($c = 1) AND ($a = 1))ORDER BY manufacturer ASC, model ASC, subtype ASC"; $result3 = mysql_query($query,$db); while ($myrow3 = mysql_fetch_array($result3)) { $id_specs = $myrow3["id"]; $manufacturer_specs = $myrow3["manufacturer"]; $model_specs = $myrow3["model"]; $subtype_specs = $myrow3["subtype"]; ?> <FONT FACE="verdana" SIZE="2" COLOR="black"> <A HREF='http://www.aviationhistoryonline.com/aircraft/index.php?id=<?php echo "$id_specs";?>'><?php echo "$manufacturer_specs";?>  <?php echo "$model_specs";?><?php echo "$subtype_specs";?></A><BR> </FONT> <?php } ?>[/code] Where would all of that fit in? ~Z~
  9. I kinda see how that should work, but my knowledge is limited thus far.  Can anyone explain it to a dummy like me? :) I just need to alternate from a white background to a light gray background...over and over and over...lol. ~Z~
  10. I know I have seen this on the forum before, but I can't seem to find it in the search function because I don't know exactly what to enter. I need to find how to alternate background colors when showing all the results of a query if that makes sense. Thanks, ~Z~
  11. Anyone else have any thoughts?? ~Z~
  12. sorry, that reply wasn't for you, it was for designationlocutus.  I'm trying your suggestion now. I'm a little fuzzy about how to include the session variable ($_SESSION['picture1']) though, could you help with that?
  13. That's the way I'm doing it, but I need it to load a default image based on the ID of the parent page loaded. ~Z~
  14. The code for my default IFRAME page is: [code]<TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0 ALIGN="CENTER" WIDTH="450" HEIGHT="150"> <TR><TD VALIGN="TOP"> <IMG SRC='images/<?php echo "$picture1";?>'> </TR></TD> </TABLE>[/code] The code from the page it is inserted on: [code]<IFRAME BGCOLOR="#000000" SRC="image.php" MARGINWIDTH=0 MARGINHEIGHT=0 FRAMEBORDER=0 SCROLLING=NO WIDTH=450 HEIGHT=100% NAME="IMAGE"></IFRAME>[/code] The variable $picture1 is defined on the page where the IFRAME is inserted. ~Z~
  15. I'm trying to include an IFRAME on my page.  Basically the reason I am using it is to be able to use it as a TARGET for a few links.  I'm able to include it and make it work, but when I go to add PHP code to it, the trouble starts.  I'm wanting the frame to display a default image based on the ID of the page it is included within.  I've done it a few ways, and the best I can figure is that the IFRAME isn't getting the ID data to be able to provide the appropriate variable.  If anyone understands what I am saying, am I correct?  Is there a way around this?? Thanks, ~Z~
  16. I'm an idiot...I didn't even see that I had BR tags in there! Issue resolved.  Chalk one up AGAIN for the PHPFreaks! ~Z~
  17. I'm not sure if this is a PHP issue or an HTML issue, but I'm having a little trouble with my PHP IF statements tiling vertically instead of horizonally like I want them to. This code: [code]<?php if ( $picture1 != NULL ) {     echo "<BR><A HREF='' TARGET=''>[1]</A>"; } ?> <?php if ( $picture2 != NULL ) {     echo "<BR><A HREF='' TARGET=''>[2]</A>"; } ?> [3] [4] [5][/code] is producing this result: [img]http://www.lasvegas247.net/Screen011.jpg[/img] I've not had this problem before, and my brain is melting trying to think about it and redo it 5 billion times.  I want it to continue to tile horizonally like 3, 4, and 5 do. Anyone have any thoughts?? Thanks, ~Z~
  18. Not even a search.  Just something to display in a small box on the front page of my site.  Something like this: [img]http://www.lasvegas247.net/date.jpg[/img] I think it always helps me if I can just see an example.  Lots of things I can work out for myself if I just sit down long enough, but like I said, the whole date format thing screws me up. ~Z~
  19. Anyone out there got something like this?  I want a script to recognize the Month and day and then compare it against database entries for events that happened on the same date through history.  I'm not very good when it comes to the whole "date" thing or I could probably get it myself.  Any help would be appreciated. Thx, ~Z~
  20. Has anyone written one of these scripts or know where I can look to find one? I'm really not even sure where to begin on this one... Thanks, ~Z~
  21. Hypothetically: If I were using a login script that uses sessions, and for logging in, there is a script that checks for errors such as wrong password, username, etc...what would need to happen to clear out the errors so a person could login correctly? Would such a script use the session to 'record' the error so that there would need to be some kind of destroy command given to wipe the memory of there being an error??? I'm at my wits end trying to figure this problem out. ~Z~
  22. Sweet, thanks. That's working fine now. ~Z~
  23. Not so much PHP as HTML, but I have a question. I'm noticing that as I write the script for my webpage that my IMG ALT do not work the same in Netscape and Firefox as they do in IE. In IE, they "pop up" on mouse rollover. This does not occur with the other two. Is there some trick to this, or is it just disabled in Netscape and Firefox? ~Z~
  24. Just curious to see if anyone here is familiar with or is actually using the above titled script located at Evolt.org? If so, could you drop me a line either here or through email. I'm having trouble with one last thing to make it functional for me. Thanks in advance, Zachary
  25. Okay, it is working now somewhat... The IF, ELSE statement works, but when using \"$menu\" , I am getting the url with quotes around it, and that is not working... ~Z~
×
×
  • 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.