Go to Post Our robot throws custom $5.50 FIRST Frisbees at a rate of 75 discs per minute and a speed of ~32 feet per second. It costs over $80 to feed our robot for 12 seconds. - Woolly [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 04-01-2007, 23:43
Tottanka's Avatar
Tottanka Tottanka is offline
It isnt about bots,its about humans
AKA: Liron Gurvitz
FRC #3211 (The Y Team)
Team Role: Mentor
 
Join Date: Dec 2006
Rookie Year: 2006
Location: Hadera, Israel
Posts: 1,418
Tottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond repute
Website coding help needed

Ok..i wanna make a panel for ouw team's website.
It's abasicly a frame, but i want it to be in the upper right corner of the window, lets say, taking 20%in width and 10% in height...
And i want it to freeze on the window, meaning that when the user will scroll down. it will move along and he will still be able to see it..
Anyone of u guys know how to do it?
__________________
My FRC record: 10 Years,FTA (2008-9), 3 Teams(1947,2669,3211).3 RCA, 1 Championship EI(2016), 1 Divisional finalist (2016), 1 Regional winner.
Israeli 2016 Volunteer of the year.
  #2   Spotlight this post!  
Unread 04-01-2007, 23:48
JBotAlan's Avatar
JBotAlan JBotAlan is offline
Forever chasing the 'bot around
AKA: Jacob Rau
FRC #5263
Team Role: Mentor
 
Join Date: Sep 2004
Rookie Year: 2004
Location: Riverview, MI
Posts: 723
JBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond repute
Send a message via AIM to JBotAlan Send a message via Yahoo to JBotAlan
Re: Website coding help needed

You want CSS.

Go to http://www.w3schools.com/ and read the CSS tutorial. I hope you aren't using Dreamweaver or (shudders) Frontpage.

I don't know it very well, but a position: absolute should do it (look it up)

JBot

EDIT: Here's the page you are looking for: http://www.w3schools.com/css/pr_class_position.asp
You will need to learn a little about CSS syntax, though.

Googling CSS position tutorial gave a few results:
http://www.brainjar.com/css/positioning/
http://www.tizag.com/cssT/position.php
http://www.yourhtmlsource.com/styles...csslayout.html

IMPORTANT: You have to know, what you want to do will not be very easy to make work in IE6 and back. Supposedly IE7 parses CSS correctly, but I can tell you from personal experience that a position: absolute does not work in IE6.
__________________
Aren't signatures a bit outdated?

Last edited by JBotAlan : 04-01-2007 at 23:53.
  #3   Spotlight this post!  
Unread 04-01-2007, 23:57
Tottanka's Avatar
Tottanka Tottanka is offline
It isnt about bots,its about humans
AKA: Liron Gurvitz
FRC #3211 (The Y Team)
Team Role: Mentor
 
Join Date: Dec 2006
Rookie Year: 2006
Location: Hadera, Israel
Posts: 1,418
Tottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond repute
Re: Website coding help needed

I still cant find there how to make it freeze there and move along while you scroll..ive seen it in many wevsites...
ill find u an example

EDIT:
ok, ive lloked in some websites and foud that it is used in many of them for advertisment..but its a Flash file in the side of the screen
Any1 knows how do that?
__________________
My FRC record: 10 Years,FTA (2008-9), 3 Teams(1947,2669,3211).3 RCA, 1 Championship EI(2016), 1 Divisional finalist (2016), 1 Regional winner.
Israeli 2016 Volunteer of the year.

Last edited by Tottanka : 05-01-2007 at 00:07.
  #4   Spotlight this post!  
Unread 05-01-2007, 00:13
Christian Christian is offline
...
FRC #0408 (RoboTicks)
Team Role: Leadership
 
Join Date: Nov 2006
Rookie Year: 2001
Location: Ft. Lauderdale
Posts: 17
Christian will become famous soon enoughChristian will become famous soon enough
Send a message via AIM to Christian
Re: Website coding help needed

You can do it using frameset, but I personally don't like frames...
What you want is fixed position.

On your page, you need to place a div, or other block element, and give it an id:

Code:
<div id="fxid"> Information will go in here. </div>
and then on your CSS stylesheet, include:

Code:
#fxid {
    position:fixed;
    top:20%;
    left:0;
    height:100px;
    /* I don't like making height dynamic so in this example, I assigned it a value */
}
You can change the "fxid" to whatever you want, but you have to keep the pound sign (#) in the CSS stylesheet.

The only problem is that the position:fixed does not work in IE (I haven't tried on IE7). So you may want to go with framesets. Or, you can use some fancy JavaScript to get it to "float" where you want it. We used it one year to create a OSX-ish type navigation that always stayed on the bottom of the screen. He also has a version that mimics fixed position
.

Search w3schools for information on CSS, JavaScript, or framesets if you want to do more or differently.
__________________
President/Programming/Mechanical/Electrical/Animation/Website

robots and cake are all you need, everything else like oxygen are considered bonuses.

Last edited by Christian : 05-01-2007 at 00:17.
  #5   Spotlight this post!  
Unread 05-01-2007, 03:56
Tottanka's Avatar
Tottanka Tottanka is offline
It isnt about bots,its about humans
AKA: Liron Gurvitz
FRC #3211 (The Y Team)
Team Role: Mentor
 
Join Date: Dec 2006
Rookie Year: 2006
Location: Hadera, Israel
Posts: 1,418
Tottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond repute
Re: Website coding help needed

OK...
i have worked on that little button Since posting till nnow and i finnaly got it uploaded and everything...
here it is, on our main page and all...
www.frc-1947.com
__________________
My FRC record: 10 Years,FTA (2008-9), 3 Teams(1947,2669,3211).3 RCA, 1 Championship EI(2016), 1 Divisional finalist (2016), 1 Regional winner.
Israeli 2016 Volunteer of the year.
  #6   Spotlight this post!  
Unread 05-01-2007, 07:22
JBotAlan's Avatar
JBotAlan JBotAlan is offline
Forever chasing the 'bot around
AKA: Jacob Rau
FRC #5263
Team Role: Mentor
 
Join Date: Sep 2004
Rookie Year: 2004
Location: Riverview, MI
Posts: 723
JBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond repute
Send a message via AIM to JBotAlan Send a message via Yahoo to JBotAlan
Re: Website coding help needed

I see what you have working now is Javascript. That is probably the best solution for now, aside from requiring a *standards compliant* browser...

JBot
__________________
Aren't signatures a bit outdated?
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help needed with coding simultaneous movement (EasyC/VEX) bodaciousllama Programming 7 14-08-2006 17:35
coding problem!! HELP! wildabyss Programming 7 21-02-2005 21:48
PHP Coding HELP!!! FRANK(WGH) Website Design/Showcase 9 26-01-2005 17:18
Help On Coding 2K1 Controller GregTheGreat Programming 9 05-12-2003 18:35
coding, motors, spikes, help archiver 2001 3 24-06-2002 00:48


All times are GMT -5. The time now is 20:54.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi