Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

218
Views
PHP Header New Page Using CSS Class

On my page i can click the below link and it opens a light box; this contains my login form. what i'm wanting is when i come from another page to this one the form opens without clicking.

<li><a class="cd-signin" href="#0">Sign in</a></li>

So from my splash screen im using

header( "refresh:2;url=Login.php#0" );

Is there anyway i can add class="cd-signin" to the header code?

I know its a stupid question.

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

You could always use JavaScript to click the link automatically on page load, if you really wanted it to open the form on page load. (note this is not necessarily the most ideal solution but it will do what you're asking):

<script type="text/javascript">
    window.onload=function(){
        document.getElementById('0').click();
    }
</script>
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!