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

144
Views
Change CSS via jQuery in only one page

im a new at web development and i would like to know if i can change the css via jquery for one specific page. What is happening is that i'm changing the style of a modal through a function but, when i access another modal, it seems to have it's style changed as well. There's a standart function to show modals, but i'm using a parameter to declare if this modal should show up in a specific size, and i'm calling this function with this parameter only in modals i want, but this style is remaining for the following modals.

This is the important parts of the function:

function mostrarModal(btt, e, titulo, url, boolFullSize) //the parameter is boolFullSize


if(boolFullSize !== undefined && boolFullSize) {
            modal.dialog("open");
            carregaForm(undefined, 'modal', link, undefined, undefined, fullsizeModal);
            return;
        }

function fullsizeModal() {
    centralizaModal();
    modal.dialog({
        minHeight: window.innerHeight * 0.9
    });

    $(".ui-dialog, .ui-content").css({
        "max-height":"90vh",
        "max-width":"90vw"
    })
}
about 4 years ago · Juan Pablo Isaza
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!