Tab switching method and device

A switching device and option card technology, applied in the computer field, can solve problems such as occupying system resources, and achieve the effect of saving system resources

Inactive Publication Date: 2018-07-31
福建中金在线信息科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the purpose of the present invention is to provide a tab switching method and device to alleviate the need to call different js scripts when tab switching is required in the prior art, resulting in the need to load multiple js scripts at the same time, Technical issues hogging system resources

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Tab switching method and device
  • Tab switching method and device
  • Tab switching method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of them. the embodiment. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0047] At present, it is necessary to write a js script every time a tab is switched. In this way, on the one hand, the code is repeatedly piled up, occupying resources, and the reusability is not strong. For developers, script development is inefficient and not conducive to later maintenance; on the other hand On the one hand, when it is necessary to switch tabs, different js script...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a tab switching method and device. The method comprises the steps that if a click operation of a user to click any tab in a page is received, a label index value corresponding to the clicked tab is obtained; according to the corresponding relationship between preset label index values and first page label elements, a plurality of first page label elements corresponding to the label index value are acquired; the acquired first page label elements are displayed in the page; only the first page label elements corresponding to the tab clicked by the user are obtained in theswitching of tabs, and there is no need to obtain other page label elements which are not related to the tab clicked by the user, so that the technical effect of saving system resources is achieved.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a method and device for switching tabs. Background technique [0002] With the rapid development of web technology today, in order to reduce the number of items displayed on the taskbar, there are often multiple tabs in the pages of many websites. Users can open web pages in new tabs and click the ones they want to view Tabs switch between these pages. [0003] However, at present, it is necessary to write a js script every time a tab is switched. In this way, on the one hand, the code is repeatedly piled up, occupying resources, and the reusability is not strong. For developers, the script development efficiency is low and it is not conducive to later maintenance. ; On the other hand, when tab switching is required, different js scripts will be called, resulting in the need to load multiple js scripts at the same time, occupying system resources. Contents of the invention ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30
CPCG06F16/955
Inventor 沈文策
Owner 福建中金在线信息科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products